github.com/rakutentech/cli@v6.12.5-0.20151006231303-24468b65536e+incompatible/bin/run (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  
     5  bin/generate-language-resources
     6  
     7  GODEP=$(which godep)
     8  
     9  if [[ -z $GODEP ]] ; then
    10    echo -e "godep is not installed. Run 'go get github.com/tools/godep'"
    11    exit 1
    12  fi
    13  
    14  GOPATH=$($GODEP path):$GOPATH go run $(dirname $0)/../main/main.go "$@"