X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=882fda625b9e1bf6d0d9219e64eb60ddc7a7d027;hb=96ba4c69b4ed97b2999129380e8a4a2f51d69745;hp=c2d3dd15c4774124e1cca84f4f52eed775f73149;hpb=78398948dd83a319ed91a2fa8d843fbf30af39bc;p=tt.git diff --git a/Makefile b/Makefile index c2d3dd1..882fda6 100644 --- 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)