2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Add a simple script to generate SRI hashes for our assets. (#24814)

This commit is contained in:
XhmikosR
2017-11-23 10:22:54 +02:00
committed by GitHub
parent dcb761350c
commit cdab56d940
4 changed files with 75 additions and 0 deletions
+6
View File
@@ -40,6 +40,12 @@ printf "\n${magenta}Compile latest CSS and JS...${end}"
printf "\n${magenta}=======================================================\n${end}"
npm run dist
# Generate the SRI hashes
printf "\n${magenta}=======================================================${end}"
printf "\n${magenta}Generate the SRI hashes...${end}"
printf "\n${magenta}=======================================================\n${end}"
npm run release-sri
# Compress the dist files
printf "\n${magenta}=======================================================${end}"
printf "\n${magenta}Compressing the dist files...${end}"