Fix build after updating dependencies & make scripts posix-compliant
Diff
.travis.yml | 1 +
ci/before_deploy.sh | 4 +++-
2 files changed, 3 insertions(+), 2 deletions(-)
@@ -33,6 +33,7 @@
before_install:
- set -e
- command -v apt-get && sudo apt-get install -y libclang-dev
- rustup self update
install:
@@ -19,8 +19,8 @@
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 *