hangups-rs

Rust version of hangups (WIP) Currently Login not possible
git clone git://archive.git.mtrnord.blog/Nordgedanken/hangups-rs.git
Log | Files | Refs | README | LICENSE

before_deploy.sh (694B)


      1 # This script takes care of building your crate and packaging it for release
      2 
      3 set -ex
      4 
      5 main() {
      6     local src=$(pwd) \
      7           stage=
      8 
      9     case $TRAVIS_OS_NAME in
     10         linux)
     11             stage=$(mktemp -d)
     12             ;;
     13         osx)
     14             stage=$(mktemp -d -t tmp)
     15             ;;
     16     esac
     17 
     18     test -f Cargo.lock || cargo generate-lockfile
     19 
     20     # TODO Update this to build the artifacts that matter to you
     21     cross rustc --bin hello --target $TARGET --release -- -C lto
     22 
     23     # TODO Update this to package the right artifacts
     24     cp target/$TARGET/release/hello $stage/
     25 
     26     cd $stage
     27     tar czf $src/$CRATE_NAME-$TRAVIS_TAG-$TARGET.tar.gz *
     28     cd $src
     29 
     30     rm -rf $stage
     31 }
     32 
     33 main