Add some of missing type annotations and assertions
[tt.git] / Makefile
CommitLineData
3c9c8266
SK
1PKG_NAME := tt
2EXE_FILE := $(PKG_NAME)
3SRC_FILE := $(EXE_FILE).rkt
4PREFIX := $(HOME)
5
6.PHONY: build
7build: $(EXE_FILE)
8
4dac8738 9$(EXE_FILE): $(SRC_FILE) info.rkt
3c9c8266 10 raco exe -o $@ $<
a2a312fa 11
24c6a76b 12.PHONY: install
3c9c8266
SK
13install: $(EXE_FILE)
14 mkdir -p $(PREFIX)/bin/
15 cp $(EXE_FILE) $(PREFIX)/bin/
24c6a76b 16
78398948
SK
17.PHONY: test
18test:
a2a312fa 19 raco test ./$(SRC_FILE)
78398948 20
24c6a76b
SK
21.PHONY: remove
22remove:
3c9c8266 23 raco pkg remove $(PKG_NAME)
24c6a76b
SK
24
25.PHONY: clean
26clean:
3c9c8266 27 rm -f $(EXE_FILE)
a2a312fa
SK
28
29### dev helpers ###
30# scmindent.rkt : https://github.com/ds26gte/scmindent
31# sponge : https://joeyh.name/code/moreutils
32.PHONY: indent
33indent:
34 scmindent.rkt < $(SRC_FILE) | sponge $(SRC_FILE)
This page took 0.024931 seconds and 4 git commands to generate.