X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=make-prod-combined.sh;fp=make-prod-combined.sh;h=0000000000000000000000000000000000000000;hb=514a10f302043e48459a79806775b6925dc9a7b5;hp=6e8f9aab478ad931c8b184892f42c7001a4a4339;hpb=4dbba4b17c6203b3c1493fd99dfcf12cb88103e7;p=dygraphs.git diff --git a/make-prod-combined.sh b/make-prod-combined.sh deleted file mode 100755 index 6e8f9aa..0000000 --- a/make-prod-combined.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -mkdir -p dist - -browserify \ - -v \ - -t babelify \ - -t [ envify --NODE_ENV production ] \ - --debug \ - --standalone Dygraph \ - src/dygraph.js \ - > dist/dygraph.js - -# Create dist/dygraph.js.map -cat dist/dygraph.js | exorcist --base . dist/dygraph.js.map > /dev/null - -# Create dist/dygraph.js.min{,.map} -uglifyjs --compress --mangle \ - --in-source-map dist/dygraph.js.map \ - --source-map-include-sources \ - --source-map dist/dygraph.min.js.map \ - -o dist/dygraph.min.js \ - dist/dygraph.js - -# Copy to the old location -cp dist/dygraph.min.js dist/dygraph-combined.js