commit 3548c3a47bf257b9d882410f80460f3f9b9abf8d
parent e7937f79a3ba9d586a31435f7570cb0f01827a69
Author: Yuval Langer <yuvallangerontheroad@gmail.com>
Date: Mon, 23 Oct 2023 09:55:44 +0300
Add entr command in Makefile.
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -1,7 +1,7 @@
spock_runtime = pages/spock-runtime-debug-min.js pages/spock-runtime-debug.js \
pages/spock-runtime-min.js pages/spock-runtime.js
-.PHONY: upload all
+.PHONY: upload all entr
all: pages/main.js $(spock_runtime)
chicken-spock main.scm -o pages/main.js
@@ -19,3 +19,6 @@ upload: pages/main.js $(spock_runtime)
git commit -m f
git push
git checkout master
+
+entr:
+ ls main.scm | entr -s 'make pages/main.js'