Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: polymer_0.4.0/bower_components/gif.js/bin/build

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 URL="https://github.com/jnordberg/gif.js" 3 URL="https://github.com/jnordberg/gif.js"
4 TMP="./dist/tmp" 4 TMP="./dist/tmp"
5 5
6 if [ -f ./node_modules/.bin/cjsify ]; then 6 if [ -f ./node_modules/.bin/cjsify ]; then
7 VERSION=`./bin/version` 7 VERSION=`./bin/version`
8 echo "Packaging gif.js $VERSION" 8 echo "Packaging gif.js $VERSION"
9 ./node_modules/.bin/cjsify \ 9 ./node_modules/.bin/cjsify \
10 --export GIF \ 10 --export GIF \
(...skipping 11 matching lines...) Expand all
22 --output ./dist/gif.worker.js \ 22 --output ./dist/gif.worker.js \
23 --inline-sources \ 23 --inline-sources \
24 --minify \ 24 --minify \
25 gif.worker.coffee 25 gif.worker.coffee
26 echo -e "\n// gif.worker.js $VERSION - $URL" >> ./dist/gif.worker.js 26 echo -e "\n// gif.worker.js $VERSION - $URL" >> ./dist/gif.worker.js
27 exit $? 27 exit $?
28 else 28 else
29 echo "Dependencies missing. Run npm install" 29 echo "Dependencies missing. Run npm install"
30 exit 1 30 exit 1
31 fi 31 fi
OLDNEW
« no previous file with comments | « polymer_0.4.0/bower_components/gif.js/README.md ('k') | polymer_0.4.0/bower_components/gif.js/bin/version » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698