hack/build-assets.sh
8fd4257f
 #!/bin/bash
 
e3bb13a1
 set -o errexit
 set -o nounset
 set -o pipefail
8fd4257f
 
e3bb13a1
 OS_ROOT=$(dirname "${BASH_SOURCE}")/..
 source "${OS_ROOT}/hack/common.sh"
8fd4257f
 
e3bb13a1
 pushd "${OS_ROOT}/assets" > /dev/null
94cb4fe4
   grunt build
8fd4257f
 popd > /dev/null
 
e3bb13a1
 pushd "${OS_ROOT}" > /dev/null
7edc7f74
   Godeps/_workspace/bin/go-bindata -nocompress -prefix "assets/dist" -pkg "assets" -o "pkg/assets/bindata.go" -ignore "\\.gitignore" assets/dist/...
8fd4257f
 popd > /dev/null