-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.toml
64 lines (51 loc) · 1.03 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
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--check"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.build]
command = "cargo"
args = ["build"]
dependencies = ["clean"]
[tasks.dbuild]
command = "docker"
args = ["build", ".", "-t", "home_server"]
[tasks.fly-deploy]
command = "fly"
args = ["deploy", ".", "--local-only"]
dependencies = ["dbuild"]
[tasks.tarpaulin]
command = "cargo"
args = ["tarpaulin"]
[tasks.audit]
command = "cargo"
args = ["audit"]
[tasks.clippy]
command = "cargo"
args = ["clippy", "--", "-D", "warnings"]
[tasks.test]
command = "cargo"
args = ["test"]
dependencies = ["clean", "tarpaulin"]
[tasks.ci]
dependencies = ["test", "clippy", "format", "audit"]
[tasks.run]
command = "cargo"
args = ["watch", "-x 'run'"]
[tasks.tw]
command = "npx"
args = [
"tailwindcss",
"-i",
"./static/css/input.css",
"-o",
"./static/css/tw.css",
"--watch",
]
[tasks.webp]
command = "sh"
args = ["./towebp.sh"]
[tasks.pre_commit]
dependencies = ["format", "test", "build"]