Support upload command
[tt.git] / Makefile
index c2d3dd1..882fda6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
+SRC_FILE := tt.rkt
+
 .PHONY: install
 install:
-       raco pkg install
+       raco pkg install --deps search-auto
 
 .PHONY: test
 test:
-       raco test ./tt.rkt
+       raco test ./$(SRC_FILE)
 
 .PHONY: remove
 remove:
@@ -13,3 +15,10 @@ remove:
 .PHONY: clean
 clean:
        rm -rf compiled
+
+### dev helpers ###
+# scmindent.rkt : https://github.com/ds26gte/scmindent
+# sponge        : https://joeyh.name/code/moreutils
+.PHONY: indent
+indent:
+       scmindent.rkt < $(SRC_FILE) | sponge $(SRC_FILE)
This page took 0.024539 seconds and 4 git commands to generate.