aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7007dff..b383ec7 100644
--- a/Makefile
+++ b/Makefile
@@ -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