diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2014-11-11 16:58:49 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2014-11-11 16:58:49 -0800 |
commit | 96a4c15fa45c8093055bbfcffc7572ac801ecc62 (patch) | |
tree | e81131fdc16fa8f8e00eeca34d0e12d8cb7bb29d | |
parent | c3db8b1dbdd65e046899d72cb9f6cd5843fe45a9 (diff) |
Added npm target.
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -8,7 +8,7 @@ BUILDDIR=build FUZZCHARS?=2000000 # for fuzztest PROG?=$(BUILDDIR)/src/cmark -.PHONY: all spec leakcheck clean fuzztest dingus upload jshint test testjs benchjs update-site upload-site check +.PHONY: all spec leakcheck clean fuzztest dingus upload jshint test testjs benchjs update-site upload-site check npm debug all: check mkdir -p $(BUILDDIR); cd build; cmake .. -DCMAKE_BUILD_TYPE=Release; make @@ -90,6 +90,9 @@ update-site: spec.html js/commonmark.js upload-site: spec.html make -C $(SITE) upload +npm: + cd js; npm publish + distclean: clean -rm -f js/commonmark.js -rm -rf *.dSYM |