-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
35 lines (29 loc) · 863 Bytes
/
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
# Test on local, build for embedded on NRF52
[tasks.cbindgen]
command = "cbindgen"
args = ["--config", "cbindgen.toml", "--crate", "logz", "--output", "include/generated/logz.h"]
[tasks.build-nrf52]
command = "cargo"
toolchain = "stable"
args = ["build", "--lib", "--target", "thumbv7em-none-eabihf", "--release"]
dependencies = ["cbindgen"]
[tasks.build-nrf53]
command = "cargo"
toolchain = "stable"
args = ["build", "--lib", "--target", "thumbv8m.main-none-eabihf", "--release"]
dependencies = ["cbindgen"]
[tasks.build]
command = "cargo"
toolchain = "stable"
args = ["build"]
dependencies = ["build-nrf52", "build-nrf53"]
[tasks.test-release]
command = "cargo"
toolchain = "stable"
args = ["test", "--lib", "--release"]
dependencies = ["build"]
[tasks.test]
command = "cargo"
toolchain = "stable"
args = ["test", "--lib"]
dependencies = ["test-release"]