forked from kowainik/learn4haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (43 loc) Β· 1.64 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.PHONY: clean
clean:
cabal clean
.PHONY: build
build:
cabal build --enable-tests --write-ghc-environment-files=always
.PHONY: test-chapter1
test-chapter1:
cabal test doctest-chapter1 --enable-tests --test-show-details=direct
cabal run learn4haskell-test --enable-tests -- -m "Chapter1"
.PHONY: test-chapter1-basic
test-chapter1-basic:
cabal test doctest-chapter1 --enable-tests --test-show-details=direct
cabal run learn4haskell-test --enable-tests -- -m "Chapter1Normal"
.PHONY: test-chapter2
test-chapter2:
cabal test doctest-chapter2 --enable-tests --test-show-details=direct
cabal run learn4haskell-test --enable-tests -- -m "Chapter2"
.PHONY: test-chapter2-basic
test-chapter2-basic:
cabal test doctest-chapter2 --enable-tests --test-show-details=direct
cabal run learn4haskell-test --enable-tests -- -m "Chapter2Normal"
.PHONY: test-chapter3
test-chapter3:
cabal test doctest-chapter3 --enable-tests --test-show-details=direct
cabal run learn4haskell-test --enable-tests -- -m "Chapter3"
.PHONY: test-chapter3-basic
test-chapter3-basic:
cabal test doctest-chapter3 --enable-tests --test-show-details=direct
cabal run learn4haskell-test --enable-tests -- -m "Chapter3Normal"
.PHONY: test-chapter4
test-chapter4:
cabal test doctest-chapter4 --enable-tests --test-show-details=direct
cabal run learn4haskell-test --enable-tests -- -m "Chapter4"
.PHONY: test-chapter4-basic
test-chapter4-basic:
cabal test doctest-chapter4 --enable-tests --test-show-details=direct
cabal run learn4haskell-test --enable-tests -- -m "Chapter4Normal"
.PHONY: test-all
test-all:
cabal test all --enable-tests --test-show-details=direct
ghcup-list:
ghcup list -c set