From b095d2464c9e5f5117d9b21e91dec94a2f2fe384 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Sun, 12 Apr 2020 16:32:47 +0100 Subject: [PATCH] Fix build after updating dependencies & make scripts posix-compliant --- .travis.yml | 1 + ci/before_deploy.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 598be00..3811287 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,7 @@ matrix: before_install: - set -e +- command -v apt-get && sudo apt-get install -y libclang-dev - rustup self update install: diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index c69d658..d50be00 100755 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -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 *