consolidating scripts
[dygraphs.git] / make-prod-combined.sh
diff --git a/make-prod-combined.sh b/make-prod-combined.sh
deleted file mode 100755 (executable)
index 6e8f9aa..0000000
+++ /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