Skip to content

Commit fd3a739

Browse files
authored
[build] provide make test
1 parent 9eadddb commit fd3a739

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ SCRBL := raco scribble ++main-xref-in --redirect-main http://docs.racket-lang.or
22

33
gh-pages:
44
@git clone [email protected]:dannypsnl/racket-project.git gh-pages -b gh-pages
5-
65
OUT_DIR = gh-pages
7-
.PHONY: build
6+
7+
.PHONY: build publish test
88
build: $(OUT_DIR)
99
@$(SCRBL) --dest $(OUT_DIR) scribblings/racket-project.scrbl
1010

11-
.PHONY: publish
1211
publish: build
1312
@cd $(OUT_DIR); git add -A
1413
@cd $(OUT_DIR); git commit -m "update $$(date +%Y/%m/%d-%H:%M:%S)"
1514
@cd $(OUT_DIR); git push origin gh-pages
15+
16+
test:
17+
@raco test .

0 commit comments

Comments
 (0)