Skip to content

Commit 0c77f96

Browse files
committed
Add build and clean targets in the makefile
Also make the cleanup in test remove interface files
1 parent 39e9b0c commit 0c77f96

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.PHONY : install agda repl libHtml test testContainers testHtml golden docs
22
FILES = $(shell find src -type f)
33

4+
build :
5+
cabal build
6+
47
install :
58
cabal install --overwrite-policy=always
69

@@ -29,5 +32,8 @@ testHtml : test/agda2hs
2932
golden :
3033
make -C test golden
3134

35+
clean :
36+
make -C test clean
37+
3238
docs :
3339
make -C docs html

test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ renderTranslations : html/index.html html/fail/index.html renderTranslations.sh
5757
./renderTranslations.sh
5858

5959
clean :
60-
@rm -rf build/ html/
60+
@rm -rf _build/ build/ html/
6161

6262
force-recompile :

0 commit comments

Comments
 (0)