mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-17 23:49:35 +01:00
14 lines
235 B
Bash
14 lines
235 B
Bash
set -euxo pipefail
|
|
|
|
main() {
|
|
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
|
cargo build
|
|
cargo test --tests
|
|
return
|
|
fi
|
|
|
|
xargo build --target $TARGET
|
|
xargo test --target $TARGET --examples
|
|
}
|
|
|
|
main
|