-
Notifications
You must be signed in to change notification settings - Fork 1
/
justfile
61 lines (42 loc) · 1.1 KB
/
justfile
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
55
56
57
58
59
60
61
set positional-arguments
set export
LC_CTYPE := "UTF-8"
seed := "0"
default:
just list
install-tools:
cabal update
cabal install fourmolu-0.13.1.0 hlint-3.6.1 apply-refact \
--install-method=copy --overwrite-policy=always
format:
fourmolu -i lib
lint:
hlint lib
build0:
cabal build -v0 -O0 -j all
test:
@cabal test -v0 -O0 all \
--test-show-details=direct \
--test-options="--format=checks --color"
@cabal test -v0 -O0 haskell \
--test-show-details=direct \
--test-options="--format=checks --color"
test-autogen:
@cabal test -v0 -O0 -j haskell \
--test-show-details=direct \
--test-options="--format=checks --no-color"
test-seed:
@cabal test -v0 -O0 -j unit \
--test-show-details=direct \
--test-options="--format=checks --no-color" \
--test-options="--seed {{seed}}"
repl:
cabal repl -v0 -O0 -j fine-types
prepare: format lint build0 test
@run *args='--help':
just build0
cabal exec -v0 -O0 -j fine-types -- $@
pushf:
git push -f origin HEAD
push:
git push origin HEAD