Commit | Line | Data |
---|---|---|
1 | SRC_FILE := tt.rkt | |
2 | ||
3 | .PHONY: install | |
4 | install: | |
5 | raco pkg install --deps search-auto | |
6 | ||
7 | .PHONY: test | |
8 | test: | |
9 | raco test ./$(SRC_FILE) | |
10 | ||
11 | .PHONY: remove | |
12 | remove: | |
13 | raco pkg remove tt | |
14 | ||
15 | .PHONY: clean | |
16 | clean: | |
17 | rm -rf compiled | |
18 | ||
19 | ### dev helpers ### | |
20 | # scmindent.rkt : https://github.com/ds26gte/scmindent | |
21 | # sponge : https://joeyh.name/code/moreutils | |
22 | .PHONY: indent | |
23 | indent: | |
24 | scmindent.rkt < $(SRC_FILE) | sponge $(SRC_FILE) |