1
0
mirror of https://github.com/danog/ytop.git synced 2024-12-02 09:27:48 +01:00
ytop/ci/script.sh
2019-07-26 20:28:16 -07:00

12 lines
219 B
Bash
Executable File

#!/usr/bin/env bash
NAME=${TRAVIS_REPO_SLUG#*/}
function main {
rustup target add $TARGET
cargo build --target $TARGET --release
tar -czf $NAME-$TRAVIS_TAG-$TARGET.tar.gz -C ./target/$TARGET/release/ $NAME
}
main