-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
71 lines (56 loc) · 1.02 KB
/
Makefile.toml
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
62
63
64
65
66
67
68
69
70
71
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
[tasks.fmt]
command = "cargo"
args = ["fmt", "--", "--emit=files"]
[tasks.clippy]
command = "cargo"
args = ["clippy"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.build]
command = "cargo"
args = ["build"]
dependencies = ["clean"]
[tasks.test]
command = "cargo"
args = ["test"]
[tasks.watch-dev]
dependencies = ["fmt", "clippy", "test"]
[tasks.watch-api]
env = { MORA_CHANNEL_TIMEOUT_IN_MSEC = 1000 }
workspace = false
script = "./watch_api.sh"
watch = true
[tasks.run-server]
workspace = false
cwd = "mora-server"
command = "cargo"
args = ["run"]
watch = true
[tasks.api-tests]
cwd = "k6"
workspace = false
command = "k6"
args = ["run", "--quiet", "api.js"]
[tasks.wtest]
command = "cargo"
args = ["test"]
watch = true
[tasks.wclippy]
command = "cargo"
args = ["clippy"]
watch = true
[tasks.wcheck]
command = "cargo"
args = ["check"]
watch = true
[tasks.wbuild]
command = "cargo"
args = ["build"]
watch = true
[tasks.wrun]
command = "cargo"
args = ["run"]
watch = true