Add build.sh
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…
Reference in New Issue