mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +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
|