aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/makefile b/makefile
index 6088d40..70e4f0a 100644
--- a/makefile
+++ b/makefile
@@ -3,23 +3,13 @@
test:
npm test
-setup: npm-install static/jszip mammoth.browser.min.js
+setup: npm-install mammoth.browser.min.js
npm-install:
npm install
-static/jszip:
- mkdir -p _build/jszip
- curl -L https://github.com/Stuk/jszip/archive/v1.0.1.tar.gz | tar xz --directory _build/jszip --strip-components 1
- mkdir -p static/jszip
- cp _build/jszip/*.js static/jszip
-
mammoth.browser.js:
rm $@ -f
- cat static/jszip/jszip.js >> $@
- cat static/jszip/jszip-deflate.js >> $@
- cat static/jszip/jszip-inflate.js >> $@
- cat static/jszip/jszip-load.js >> $@
node_modules/.bin/node-license-sniffer . --recurse --js-comment >> $@
node_modules/.bin/browserify lib/index.js --standalone mammoth >> $@