summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-04-26 22:23:19 -0400
committerLLLL Colonq <llll@colonq>2026-04-26 22:23:19 -0400
commit1c7a93144ae794b0f81039c38cc4a7a969230925 (patch)
treea2edf372e22f0656a62eb43deb4451a09245875f /Makefile
Initial commitHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7e63f45
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+.PHONY: build repl web-build web-repl
+
+build:
+ @clojure -Scp '$(CLASSPATH):src:.' -M -m scripts.repl
+
+repl:
+ @clojure -Scp '$(CLASSPATH):src:.' -M -m scripts.repl
+
+web-build:
+ mkdir -p build/web
+ @clojure -Scp '$(CLASSPATH):src' -M -m cljs.main --optimizations advanced --output-to build/web/app.js --compile stem.web.core
+
+web-repl:
+ @clojure -Scp '$(CLASSPATH):src:.' -M -m scripts.web-repl