aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-06-21 22:48:24 +0100
committerMichael Williamson <mike@zwobble.org>2016-06-21 22:48:52 +0100
commita4317b3115865b445ab035439d6e1611e3233308 (patch)
tree090bc28d8ce3093c0d8ccb750b4c2c17e795e23b /makefile
parentd01c356486ce26045cd31191ecbd7254abd41127 (diff)
Use browserify-prepend-licenses to prepend license info
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/makefile b/makefile
index 0c38aaa..b7e186d 100644
--- a/makefile
+++ b/makefile
@@ -9,9 +9,7 @@ npm-install:
npm install
mammoth.browser.js:
- -rm $@ -f
- node_modules/.bin/node-license-sniffer . --recurse --js-comment >> $@
- node_modules/.bin/browserify lib/index.js --standalone mammoth >> $@
+ node_modules/.bin/browserify lib/index.js --standalone mammoth -p browserify-prepend-licenses > $@
mammoth.browser.min.js: mammoth.browser.js
node_modules/.bin/uglifyjs mammoth.browser.js -c > $@