1
0
mirror of https://github.com/danog/ytop.git synced 2024-11-30 04:29:10 +01:00
ytop/ci/script.sh
2019-07-20 17:57:40 -07:00

12 lines
228 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