-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
56 lines (42 loc) · 745 Bytes
/
Makefile
File metadata and controls
56 lines (42 loc) · 745 Bytes
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
help:
@cat Makefile
EXE=refactorio
build:
stack build
clean:
stack clean
dist-clean:
\rm -rf .stack-work
ghcid:
stack exec -- ghcid -c 'stack ghci' --restart stack.yaml
ghcid-devel:
stack exec -- ghcid \
--command "stack ghci redstring" \
--test "DevelMain.update"
hlint:
stack exec hlint .
longboye-all:
longboye imports app
longboye imports src
longboye imports test
longboye pragmas app
longboye pragmas src
longboye pragmas test
run:
stack exec $(EXE) $(STACK_ARGS) -- refactorio $(ARGS)
test:
stack test
watch:
stack build --fast --file-watch
watch-test:
stack test --fast --file-watch
b: build
g: ghcid
gd: ghcid-devel
hl: hlint
lba: longboye-all
r: run
w: watch
t: test
wt: watch-test
.PHONY: test