github.com/trevoraustin/hub@v2.2.0-preview1.0.20141105230840-96d8bfc654cc+incompatible/script/bootstrap (about)

     1  #!/usr/bin/env bash
     2  set -e
     3  
     4  STATUS=0
     5  
     6  if ! go version; then
     7    echo "You need to install Go 1.2 to build hub" >&2
     8    STATUS=1
     9  fi
    10  
    11  { ruby --version
    12    bundle install --path vendor/bundle -j 4
    13  } || {
    14    echo "You need Ruby 2.1 and Bundler to run hub tests" >&2
    15    STATUS=1
    16  }
    17  
    18  if [ $STATUS -eq 0 ]; then
    19    echo "Everything OK."
    20  fi
    21  
    22  exit $STATUS