-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
51 lines (42 loc) · 919 Bytes
/
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
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--emit=files"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.build]
command = "cargo"
args = ["build"]
dependencies = ["clean"]
[tasks.test]
command = "cargo"
args = ["test"]
dependencies = ["clean"]
# Sort dependencies in `Cargo.toml`
[tasks.sort]
install_crate = "cargo-sort-ck"
command = "cargo-sort-ck"
args = ["-w"]
# Upgrade all crates
[tasks.upgrade]
install_crate = "cargo-edit"
command = "cargo"
args = ["upgrade"]
# Update all crates
[tasks.update]
command = "cargo"
args = ["update"]
dependencies = ["upgrade"]
# Installs application on local computer
[tasks.install]
command = "cargo"
args = ["install","--path","."]
# publishes application to Crates.io
[tasks.publish]
command = "cargo"
args = ["publish"]
# Runs application using development build
[tasks.run]
command = "cargo"
args = ["run","--","fetch"]