summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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