diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2015-01-23 15:15:52 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2015-01-23 15:15:52 -0800 |
commit | cab438daf78d49eac6381270b49e7f13778c472d (patch) | |
tree | 0fa3ff8ea6981d9fa5614dd0181e8e7db4c972a4 /Makefile | |
parent | 41d211952ce549f13bc119e27f9b690f625f53d3 (diff) |
Added target for minified js/dist/commonmark.min.js.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -129,6 +129,10 @@ distclean: clean js/dist/commonmark.js: js/lib/index.js ${JSMODULES} browserify --standalone commonmark $< -o $@ +# 'npm install -g uglify-js' for the uglifyjs tool: +js/dist/commonmark.min.js: js/dist/commonmark.js + uglifyjs $< --compress warnings --preamble "/* commonmark $(VERSION) https://github.com/jgm/CommonMark @license BSD3 */" > $@ + testjs: $(SPEC) node js/test.js |