-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun
More file actions
33 lines (24 loc) · 711 Bytes
/
run
File metadata and controls
33 lines (24 loc) · 711 Bytes
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
::default-script runscript
[runscript:build]
cargo build
[runscript:run]
cargo run --no-default-features --features old-parser -- $@
[runscript:test]
::default-phase test
cargo test
[args]
[no_exec]
__run_panic
[pkg]
run pkg-linux
run pkg-mac
run pkg-win
[pkg-win]
cargo build --release --target x86_64-pc-windows-gnu
tar czf runscript-windows-x86_64.tar.gz -C target/x86_64-pc-windows-gnu/release run.exe
[pkg-mac]
cargo build --release --target x86_64-apple-darwin
tar czf runscript-macos-x86_64.tar.gz -C target/x86_64-apple-darwin/release run
[pkg-linux]
cargo build --release --target x86_64-unknown-linux-musl
tar czf runscript-linux-x86_64.tar.gz -C target/x86_64-unknown-linux-musl/release run