-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile.toml
More file actions
56 lines (47 loc) · 1.85 KB
/
Makefile.toml
File metadata and controls
56 lines (47 loc) · 1.85 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
[config]
default_to_workspace = false
[tasks.clean]
command = "cargo"
args = ["clean"]
# Tasks for creating and running the setup binary
[tasks.build-setup-dependencies]
description = "Build binaries that will be included in the setup binary"
command = "cargo"
args = ["build", "--release", "--package=omni-led", "--package=audio", "--package=clock",
"--package=images", "--package=media", "--package=system", "--package=weather"]
[tasks.build-setup]
description = "Build the setup binary"
command = "cargo"
args = ["build", "--release", "--package=omni-led-setup"]
dependencies = ["build-setup-dependencies"]
[tasks.run-setup]
description = "Run setup"
command = "cargo"
args = ["run", "--release", "--bin=omni-led-setup", "--", "install", "--interactive"]
dependencies = ["build-setup"]
# Tasks for building and running locally using cargo run
[tasks.build]
description = "Build development binaries in debug mode"
command = "cargo"
args = ["build", "--features=dev", "--package=omni-led", "--package=audio", "--package=clock",
"--package=images", "--package=media", "--package=system", "--package=weather"]
[tasks.build-release]
description = "Build development binaries in release mode"
command = "cargo"
args = ["build", "--release", "--features=dev", "--package=omni-led", "--package=audio",
"--package=clock", "--package=images", "--package=media", "--package=system", "--package=weather"]
[tasks.run]
description = "Run development binaries in debug mode"
command = "cargo"
args = ["run", "--features=dev"]
dependencies = ["build"]
[tasks.run-release]
description = "Run development binaries in release mode"
command = "cargo"
args = ["run", "--release", "--features=dev"]
dependencies = ["build-release"]
[tasks.test]
description = "Run tests"
command = "cargo"
args = ["test", "--package=omni-led-lib", "--features=dev", "--no-fail-fast"]
dependencies = ["build"]