mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 22:15:07 +01:00
14 lines
196 B
Bash
14 lines
196 B
Bash
|
set -ex
|
||
|
|
||
|
main() {
|
||
|
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
||
|
cargo test
|
||
|
return
|
||
|
fi
|
||
|
|
||
|
cross build --target $TARGET
|
||
|
cross build --target $TARGET --release
|
||
|
}
|
||
|
|
||
|
main
|