Exit test script on errors.

This commit is contained in:
Jakob Stoklund Olesen
2016-04-29 15:45:48 -07:00
parent 3c0e2f6e9d
commit e414ce6315

View File

@@ -1,5 +1,11 @@
#!/bin/bash #!/bin/bash
# Exit immediately on errors.
set -e
# Run from the src/tools directory which includes all our crates.
cd $(dirname "$0")/tools cd $(dirname "$0")/tools
PKGS="-p cretonne -p cretonne-reader -p cretonne-tools" PKGS="-p cretonne -p cretonne-reader -p cretonne-tools"
cargo build $PKGS cargo build $PKGS
cargo doc $PKGS cargo doc $PKGS