diff --git a/scripts/generate b/scripts/generate new file mode 100755 index 000000000..f5666575a --- /dev/null +++ b/scripts/generate @@ -0,0 +1,13 @@ +#!/bin/bash -eu + +ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" + +cd ${ROOT_DIR} + +# packr2 need the envvar to detect that we are on go.mod +export GOPATH=/tmp/idontexit + +go generate ./... + +cat bosh/bosh-packr.go +