🏡 index : ~doyle/bin.git

author Jordan Doyle <jordan@doyle.la> 2020-04-12 15:32:47.0 +00:00:00
committer jordan@doyle.la <jordan@doyle.la> 2020-04-12 15:44:59.0 +00:00:00
commit
b095d2464c9e5f5117d9b21e91dec94a2f2fe384 [patch]
tree
ae991d5989288bb489db6b7d2b4b6d710dfe283b
parent
3c76d4fd1a0b1734f0bc6a83bcc72a642cde1cf3
download
v1.0.4.tar.gz

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(-)

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 *