From 632dcab38d9c516f6cee447a70c06765e29526c0 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Fri, 19 Jan 2024 20:35:36 -0500 Subject: add javascript version --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5eed711 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +HTTP_PORT = 8000 +HTTP_IF = -b :: + +PYTHON3 = python3 +ORGC = emacs -Q --batch --eval "(progn (require 'ob-tangle) (dolist (file command-line-args-left) (with-current-buffer (find-file-noselect file) (org-babel-tangle))))" + +index.html: js-ver.org + $(ORGC) $< + +run: index.html + $(PYTHON3) -m http.server $(HTTP_IF) $(HTTP_PORT) -- cgit v1.2.3