Browse Source

Use sha384sum instead

master
PapaTutuWawa 10 months ago
parent
commit
cbafc04bbd
  1. 2
      Makefile

2
Makefile

@ -1,5 +1,5 @@
DEPS := content/de.html content/en.html layout/page.html params.de.json params.en.json
JS_SRI := sha384-$(shell shasum -b -a 384 assets/js/main.js | awk '{ print $1 }' | xxd -r -p | base64)
JS_SRI := sha384-$(shell sha384sum -b assets/js/main.js | awk '{ print $1 }' | xxd -r -p | base64)
JS_SRI_ESCAPED := $(shell echo "${JS_SRI_RAW}" | sed -e 's/\-/\\\-/' -e 's/\//\\\//g' -e 's/\+/\\\+/g' -e 's/\+/\\\+/g' -e 's/\=/\\\=/g')
serve: ${DEPS}

Loading…
Cancel
Save