check for xargo in build script
#!/bin/bash
-set -e
case `uname` in
"Linux")
;;
esac
+command -v xargo > /dev/null
+if [[ $? -ne 0 ]]; then
+ echo "xargo required."
+ echo "run:"
+ echo " $ cargo install xargo"
+ echo " $ rustup component add rust-src"
+ exit 1
+fi
+
+set -e
+
cargo test
cargo bench -- --nocapture
cargo build
cargo build --examples
+cargo build --release
cargo build --release --examples
xargo build --target $XARGO_TARGET --release
strip $STRIP_ARGS "target/release/libossuary.$LIB_EXT"