-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathjustfile
37 lines (31 loc) · 1.12 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
build:
echo "Building for Linux..."
cargo build --target x86_64-unknown-linux-gnu
echo "Building for macOS..."
cargo build --target aarch64-apple-darwin
echo "Building for Windows..."
cargo build --target x86_64-pc-windows-gnu
echo "Building for wasm..."
cargo build --target wasm32-unknown-unknown
test:
cargo test --doc
doc-linux:
cargo doc --no-deps --open --target x86_64-unknown-linux-gnu
doc-macos:
cargo doc --no-deps --open --target aarch64-apple-darwin
doc-windows:
cargo doc --no-deps --open --target x86_64-pc-windows-gnu
doc-wasm:
cargo doc --no-deps --open --target wasm32-unknown-unknown
example-linux:
echo "Building examples for Linux..."
cargo build --example detect --target x86_64-unknown-linux-gnu
example-macos:
echo "Building examples for macOS..."
cargo build --example detect --target aarch64-apple-darwin
example-windows:
echo "Building examples for Windows..."
cargo build --example detect --target x86_64-pc-windows-gnu
example-wasm:
echo "Building examples for wasm..."
cargo build --example detect --target wasm32-unknown-unknown