Fix build after updating dependencies & make scripts posix-compliant

This commit is contained in:
Jordan Doyle 2020-04-12 16:32:47 +01:00 committed by jordan@doyle.la
parent 3c76d4fd1a
commit b095d2464c
No known key found for this signature in database
GPG Key ID: 1EA6BAE6F66DC49A
2 changed files with 3 additions and 2 deletions

View File

@ -33,6 +33,7 @@ matrix:
before_install:
- set -e
- command -v apt-get && sudo apt-get install -y libclang-dev
- rustup self update
install:

View File

@ -19,8 +19,8 @@ main() {
cross rustc --bin bin --target $TARGET --release -- -C lto
[ "$TARGET" == "arm-unknown-linux-gnueabi" ] || [ "$TARGET" == "x86_64-pc-windows-gnu" ] || strip target/$TARGET/release/bin
cp target/$TARGET/release/bin $stage/
[ "$TARGET" = "arm-unknown-linux-gnueabi" ] || [ "$TARGET" = "x86_64-pc-windows-gnu" ] || strip target/$TARGET/release/bin
cp target/$TARGET/release/* $stage/
cd $stage
tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *