aboutsummaryrefslogtreecommitdiff
path: root/src/static/update_hashes.sh
blob: 31f63bd9d780aae32bfd5798f5b81612be673be1 (plain)
1
2
3
4
5
#/bin/sh
cd "$(dirname "$0")"
for script in *.css *.js; do
	shasum -a 256 < $script | cut -d' ' -f1 | xxd -r -p | base64 -w 0 > $script.sha256
done