forked from haskell-beginners-2022/exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (24 loc) · 808 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.PHONY: clean
clean:
cabal clean
.PHONY: build
build:
cabal build --enable-tests --write-ghc-environment-files=always
.PHONY: test-all
test-all:
cabal test all --enable-tests --test-show-details=direct
.PHONY: test-lecture1
test-lecture1:
cabal test doctest-lecture1 --enable-tests --test-show-details=direct
cabal run exercises-test --enable-tests -- -m "Lecture 1"
.PHONY: test-lecture2
test-lecture2:
cabal test doctest-lecture2 --enable-tests --test-show-details=direct
cabal run exercises-test --enable-tests -- -m "Lecture 2"
.PHONY: test-lecture3
test-lecture3:
cabal test doctest-lecture3 --enable-tests --test-show-details=direct
cabal run exercises-test --enable-tests -- -m "Lecture 3"
.PHONY: test-lecture4
test-lecture4:
cabal run exercises-test --enable-tests -- -m "Lecture 4"