-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile.toml
59 lines (48 loc) · 1.44 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
# ref: https://sagiegurari.github.io/cargo-make/
[env]
CARGO_MAKE_PROJECT_VERSION = "0.2.0"
PUBLISH_SCRIPT = "build-scripts/publish.sh"
[tasks.package-bios-basic]
workspace = false
command = "cargo"
args = ["package", "-p", "bios-basic"]
[tasks.publish-bios-basic]
dependencies = ["publish-bios-sdk-invoke", "package-bios-basic"]
workspace = false
command = "bash"
args = ["${PUBLISH_SCRIPT}", "${CARGO_MAKE_PROJECT_VERSION}", "bios-basic"]
[tasks.package-bios-iam]
workspace = false
command = "cargo"
args = ["package", "-p", "bios-iam"]
[tasks.publish-bios-iam]
dependencies = ["publish-bios-basic"]
workspace = false
command = "bash"
args = ["${PUBLISH_SCRIPT}", "${CARGO_MAKE_PROJECT_VERSION}", "bios-iam"]
[tasks.package-simple-invoke-client-macro]
workspace = false
command = "cargo"
args = ["package", "-p", "simple-invoke-client-macro"]
[tasks.publish-simple-invoke-client-macro]
workspace = false
command = "bash"
args = [
"${PUBLISH_SCRIPT}",
"${CARGO_MAKE_PROJECT_VERSION}",
"simple-invoke-client-macro",
]
[tasks.package-bios-sdk-invoke]
workspace = false
command = "cargo"
args = ["package", "-p", "bios-sdk-invoke"]
[tasks.publish-bios-sdk-invoke]
dependencies = ["publish-simple-invoke-client-macro"]
workspace = false
command = "bash"
args = ["${PUBLISH_SCRIPT}", "${CARGO_MAKE_PROJECT_VERSION}", "bios-sdk-invoke"]
[tasks.publish]
dependencies = ["publish-bios-iam"]
workspace = false
command = "echo"
args = ["Publishing completed!"]