diff options
author | XhmikosR <xhmikosr@gmail.com> | 2017-11-23 11:22:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-23 11:22:54 +0300 |
commit | cdab56d940b3c4c9714005aa3caa8842f3e4e8c3 (patch) | |
tree | 7fc236b47cb27218c120a465364e85b5c0d878b7 /build/ship.sh | |
parent | dcb761350c72d77a4288493efc5b9a043feb9a26 (diff) |
Add a simple script to generate SRI hashes for our assets. (#24814)
Diffstat (limited to 'build/ship.sh')
-rwxr-xr-x | build/ship.sh | 6 |
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}" |