X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=882fda625b9e1bf6d0d9219e64eb60ddc7a7d027;hb=refs%2Ftags%2F0.4.0;hp=bced2e65bacac5cac43c385c0f939bae7473e0e6;hpb=24c6a76b401882f7c263d07efdf73109fa483128;p=tt.git diff --git a/Makefile b/Makefile index bced2e6..882fda6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,12 @@ +SRC_FILE := tt.rkt + .PHONY: install install: - raco pkg install + raco pkg install --deps search-auto + +.PHONY: test +test: + raco test ./$(SRC_FILE) .PHONY: remove remove: @@ -9,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)