Created
June 4, 2014 05:43
-
-
Save sputnikus/99e3dfbb339b2cfa62ec to your computer and use it in GitHub Desktop.
Revisions
-
sputnikus created this gist
Jun 4, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ #!/usr/bin/env bash jscompile_e2e="python2 closure-library/closure/bin/build/closurebuilder.py --root end-to-end --root closure-library --root closure-templates/javascript --root zlib.js/src --root typedarray -o compiled -c compiler.jar" csscompile_e2e="java -jar closure-stylesheets-20111230.jar end-to-end/javascript/crypto/e2e/extension/ui/styles/base.css" # compile javascript files $jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/bootstrap.js > end-to-end/javascript/crypto/e2e/extension/launcher_binary.js $jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/helper/helper.js > end-to-end/javascript/crypto/e2e/extension/helper_binary.js $jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/ui/glass/bootstrap.js > end-to-end/javascript/crypto/e2e/extension/glass_binary.js $jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/ui/prompt/prompt.js > end-to-end/javascript/crypto/e2e/extension/prompt_binary.js $jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/ui/settings/settings.js > end-to-end/javascript/crypto/e2e/extension/settings_binary.js $jscompile_e2e -i end-to-end/javascript/crypto/e2e/extension/ui/welcome/welcome.js > end-to-end/javascript/crypto/e2e/extension/welcome_binary.js # copy html files find end-to-end/javascript/crypto/e2e/extension/ui -regex .*.html | xargs -n 1 cp -f -t end-to-end/javascript/crypto/e2e/extension # copy css files $csscompile_e2e end-to-end/javascript/crypto/e2e/extension/ui/glass/glass.css > end-to-end/javascript/crypto/e2e/extension/glass_styles.css $csscompile_e2e end-to-end/javascript/crypto/e2e/extension/ui/prompt/prompt.css > end-to-end/javascript/crypto/e2e/extension/prompt_styles.css $csscompile_e2e end-to-end/javascript/crypto/e2e/extension/ui/settings/settings.css > end-to-end/javascript/crypto/e2e/extension/settings_styles.css $csscompile_e2e end-to-end/javascript/crypto/e2e/extension/ui/welcome/welcome.css > end-to-end/javascript/crypto/e2e/extension/welcome_styles.css # copy gmonkey_stub.js cp -f end-to-end/javascript/crypto/e2e/extension/helper/gmonkeystub.js end-to-end/javascript/crypto/e2e/extension/gmonkeystub.js