github.com/jasonkeene/cli@v6.14.1-0.20160816203908-ca5715166dfb+incompatible/bin/build (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  
     5  echo -e "\nGenerating Binary..."
     6  
     7  ROOT_DIR=$(cd $(dirname $(dirname $0)) && pwd)
     8  
     9  if [[ $(git status --porcelain cf/i18n/resources) ]]; then
    10    $ROOT_DIR/bin/generate-language-resources
    11  fi
    12  
    13  go build -o $ROOT_DIR/out/cf .