-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile.toml
44 lines (39 loc) · 1.23 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
[tasks.format]
clear = true
install_crate = "rustfmt-nightly"
command = "cargo"
args = ["+nightly", "fmt", "--all"]
[tasks.test]
clear = true
command = "cargo"
args = ["test", "--release", "--all-features", "--workspace"]
[tasks.ci-test]
clear = true
command = "cargo"
args = ["nextest", "run", "--profile", "ci", "--release", "--all-features", "--workspace"]
[tasks.post-ci-test]
clear = true
command = "cargo"
args = ["test", "--release", "--all-features", "--workspace", "--doc"]
[tasks.publish]
clear = true
script = '''
cargo publish --all-features -p distant-auth
cargo publish --all-features -p distant-protocol
cargo publish --all-features -p distant-net
cargo publish --all-features -p distant-core
cargo publish --all-features -p distant-local
cargo publish --all-features -p distant-ssh2
cargo publish --all-features
'''
[tasks.dry-run-publish]
clear = true
script = '''
cargo publish --all-features --dry-run -p distant-auth
cargo publish --all-features --dry-run -p distant-protocol
cargo publish --all-features --dry-run -p distant-net
cargo publish --all-features --dry-run -p distant-core
cargo publish --all-features --dry-run -p distant-local
cargo publish --all-features --dry-run -p distant-ssh2
cargo publish --all-features --dry-run
'''