-
Notifications
You must be signed in to change notification settings - Fork 32
/
Makefile.toml
128 lines (103 loc) · 5.47 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[config]
default_to_workspace = false
[tasks.default]
alias = "examples"
[tasks.examples]
dependencies = [
"console",
"cpueater",
"crashing",
"custom",
"ferris",
"hello-ferris",
"hello-resource",
"hello-world",
"inspect",
"memeater",
"message001",
"message002",
"netns",
"persistence",
"redis-client",
"redis-server",
"seccomp",
"sockets",
"test-container",
"test-resource",
"token-client",
"token-server",
]
[tasks.test]
dependencies = [ "examples" ]
command = "cargo"
args = [ "nextest", "run" ]
[tasks.console]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "console" ]
[tasks.cpueater]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "cpueater" ]
[tasks.crashing]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "crashing" ]
[tasks.custom]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "custom" ]
[tasks.ferris]
script = [
"cargo build --bin ferris",
"ROOT=`mktemp -d`",
"cp target/debug/ferris $ROOT",
"cargo run --bin northstar-sextant pack --compression none --out target/northstar/repository --key examples/northstar.key --manifest-path examples/ferris/manifest.yaml --root $ROOT"
]
[tasks.hello-ferris]
command = "cargo"
args = [ "run", "--bin", "northstar-sextant", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "--manifest-path", "examples/hello-ferris/manifest.yaml" ]
[tasks.hello-resource]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "hello-resource" ]
[tasks.hello-world]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "hello-world" ]
[tasks.inspect]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "inspect" ]
[tasks.memeater]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "memeater" ]
[tasks.message001]
command = "cargo"
args = [ "run", "--bin", "northstar-sextant", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "--manifest-path", "examples/message-0.0.1/manifest.yaml", "--root", "examples/message-0.0.1/root" ]
[tasks.message002]
command = "cargo"
args = [ "run", "--bin", "northstar-sextant", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "--manifest-path", "examples/message-0.0.2/manifest.yaml", "--root", "examples/message-0.0.2/root" ]
[tasks.netns]
command = "cargo"
args = [ "run", "--bin", "northstar-sextant", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "--manifest-path", "examples/netns/manifest.yaml" ]
[tasks.persistence]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "persistence" ]
[tasks.redis-client]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "redis-client" ]
[tasks.redis-server]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "redis-server" ]
[tasks.seccomp]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "seccomp" ]
[tasks.sockets]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "sockets" ]
[tasks.test-container]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "test-container" ]
[tasks.test-resource]
command = "cargo"
args = [ "run", "--bin", "northstar-sextant", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "--manifest-path", "examples/test-resource/manifest.yaml", "--root", "examples/test-resource/root" ]
[tasks.token-client]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "token-client" ]
[tasks.token-server]
command = "cargo"
args = [ "run", "--bin", "cargo-npk", "npk", "pack", "--compression", "none", "--out", "target/northstar/repository", "--key", "examples/northstar.key", "-p", "token-server" ]