-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.toml
50 lines (42 loc) · 1.63 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
[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=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=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=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"]