Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2017-11-23 11:22:54 +0300
committerGitHub <noreply@github.com>2017-11-23 11:22:54 +0300
commitcdab56d940b3c4c9714005aa3caa8842f3e4e8c3 (patch)
tree7fc236b47cb27218c120a465364e85b5c0d878b7 /build/ship.sh
parentdcb761350c72d77a4288493efc5b9a043feb9a26 (diff)
Add a simple script to generate SRI hashes for our assets. (#24814)
Diffstat (limited to 'build/ship.sh')
-rwxr-xr-xbuild/ship.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/ship.sh b/build/ship.sh
index cdd5ab8eb5..d252cd38f3 100755
--- a/build/ship.sh
+++ b/build/ship.sh
@@ -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}"