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

12 lines
219 B
Bash
Raw Normal View History

2019-07-20 02:36:20 +02:00
#!/usr/bin/env bash
NAME=${TRAVIS_REPO_SLUG#*/}
function main {
2019-07-27 05:23:03 +02:00
rustup target add $TARGET
cargo build --target $TARGET --release
tar -czf $NAME-$TRAVIS_TAG-$TARGET.tar.gz -C ./target/$TARGET/release/ $NAME
2019-07-20 02:36:20 +02:00
}
main