Add build.sh

f_travis
Evan Cameron 4 years ago
parent 3cddad4fd0
commit 548394a52f

@ -0,0 +1,13 @@
#!/bin/sh
set -e
cargo fmt --all -- --check
cargo build --target $TARGET --all-features --release
cargo test --lib --target x86_64-unknown-linux-gnu
cargo test --doc --target x86_64-unknown-linux-gnu
if [ -z $DISABLE_EXAMPLES ]; then
cargo build --target $TARGET --all-features --examples
fi
Loading…
Cancel
Save