github.com/elopio/cli@v6.21.2-0.20160902224010-ea909d1fdb2f+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 .