cmark

My personal build of CMark ✏️

Commit
96a4c15fa45c8093055bbfcffc7572ac801ecc62
Parent
c3db8b1dbdd65e046899d72cb9f6cd5843fe45a9
Author
John MacFarlane <fiddlosopher@gmail.com>
Date

Added npm target.

Diffstat

1 file changed, 4 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 5 4 1
diff --git 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