forked from sarchar/libdragon-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
53 lines (40 loc) · 1.27 KB
/
Justfile
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
default:
@echo Nothing to do
build:
cargo build
@just build-examples
build-release:
cargo build --release
@just build-examples-release
build-verbose:
cargo build -vvv
@just build-examples-verbose
build-release-verbose:
cargo build --release -vvv
@just build-examples-release-verbose
build-toolchain:
cargo build --features libdragon-sys/buildtoolchain -vvv
@just build-examples-release-verbose
build-release-toolchain:
cargo build --release --features libdragon-sys/buildtoolchain -vvv
@just build-examples-release-verbose
build-example EXAMPLE:
cd "libdragon-examples/{{EXAMPLE}}" && just build
build-example-release EXAMPLE:
cd "libdragon-examples/{{EXAMPLE}}" && just build-release
build-examples:
@for example in `ls libdragon-examples`; do \
cd "libdragon-examples/$example" && just build; cd ../..; \
done
build-examples-release:
@for example in `ls libdragon-examples`; do \
cd "libdragon-examples/$example" && just build-release; cd ../..; \
done
build-examples-release-verbose:
@for example in `ls libdragon-examples`; do \
cd "libdragon-examples/$example" && just build-release-verbose; cd ../..; \
done
clean:
cargo clean
clean-release:
cargo clean --release