github.com/willmadison/cli@v6.40.1-0.20181018160101-29d5937903ff+incompatible/bin/generate-language-resources (about)

     1  #!/usr/bin/env bash
     2  
     3  set -e
     4  
     5  go get github.com/jteeuwen/go-bindata/...
     6  go-bindata -nometadata  -pkg resources -ignore ".go" -o i18n/resources/i18n_resources.go i18n/resources/*.all.json
     7  pushd i18n/resources
     8    go fmt ./...
     9  popd