From c13eb838903faf30a0fcba1ccccdd888e0b2198e Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 24 Mar 2014 14:34:22 +0000 Subject: Use jszip from npm --- makefile | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'makefile') 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 >> $@ -- cgit v1.2.3