From 3c945933b4d26f665151e99fb08c38a368b153b6 Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Sun, 16 Jul 2017 20:57:11 +0900 Subject: [PATCH] Fixed binary name --- appveyor.yml | 2 +- ci/before_deploy.ps1 | 2 +- ci/before_deploy.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5a29ab1..cf0fd22 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -50,7 +50,7 @@ test_script: before_deploy: # TODO Update this to build the artifacts that matter to you - - cargo rustc --target %TARGET% --release --bin hello -- -C lto + - cargo rustc --target %TARGET% --release --bin tantivy -- -C lto - ps: ci\before_deploy.ps1 deploy: diff --git a/ci/before_deploy.ps1 b/ci/before_deploy.ps1 index 191a30b..862b9d5 100644 --- a/ci/before_deploy.ps1 +++ b/ci/before_deploy.ps1 @@ -11,7 +11,7 @@ Set-Location $STAGE $ZIP = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET).zip" # TODO Update this to package the right artifacts -Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\hello.exe" '.\' +Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\tantivy" '.\' 7z a "$ZIP" * diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index 026dc28..3c43e8b 100644 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -18,10 +18,10 @@ main() { test -f Cargo.lock || cargo generate-lockfile # TODO Update this to build the artifacts that matter to you - cross rustc --bin hello --target $TARGET --release -- -C lto + cross rustc --bin tantivy --target $TARGET --release -- -C lto # TODO Update this to package the right artifacts - cp target/$TARGET/release/hello $stage/ + cp target/$TARGET/release/tantivy $stage/ cd $stage tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *