-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
74 lines (55 loc) · 1.3 KB
/
Makefile.toml
File metadata and controls
74 lines (55 loc) · 1.3 KB
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
72
73
74
[tasks.build]
command = "cargo"
args = ["build", "--features=dev"]
[tasks.run]
command = "cargo"
args = ["run", "--features=dev"]
[tasks.watch]
command = "cargo"
args = ["run", "--features=dev"]
watch = true
[tasks.release]
command = "cargo"
args = ["build", "--release"]
[tasks.run-release]
command = "cargo"
args = ["run", "--release"]
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt"]
[tasks.check-format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--check"]
[tasks.check]
command = "cargo"
args = ["check"]
watch = true
[tasks.clippy]
command = "cargo"
args = ["clippy", "--", "-D", "warnings"]
watch = true
[tasks.test]
command = "cargo"
args = ["test"]
[tasks.docker-build]
script = "docker compose build"
[tasks.up]
script = "docker compose up -d"
[tasks.server-shell]
script = "docker compose up -d && docker compose run bot bash"
[tasks.start-local]
command = "./target/debug/articify-bot"
[tasks.start]
script = "./.scripts/run.sh start dev"
[tasks.start-recreate]
script = "./.scripts/run.sh start dev force-recreate"
[tasks.start-prod]
script = "./.scripts/run.sh start prod"
[tasks.start-prod-recreate]
script = "./.scripts/run.sh start prod force-recreate"
[tasks.stop]
script = "./.scripts/run.sh stop"
[tasks.down]
script = "./.scripts/run.sh down"