diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index 026dc28..571259a 100755 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -17,11 +17,9 @@ 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 bin --target $TARGET --release -- -C lto - # TODO Update this to package the right artifacts - cp target/$TARGET/release/hello $stage/ + cp target/$TARGET/release/bin $stage/ cd $stage tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz * diff --git a/ci/script.sh b/ci/script.sh index ddd7f93..293504d 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -13,9 +13,6 @@ main() { cross test --target $TARGET cross test --target $TARGET --release - - cross run --target $TARGET - cross run --target $TARGET --release } # we don't run the "test phase" when doing deploys