Build go-bindata in a tmpdir
This commit is contained in:
parent
6ef5a842ab
commit
001f81e3b3
@ -28,7 +28,10 @@ TEMPLATES_PACKAGE="pages"
|
||||
|
||||
FORCE="${FORCE:-}" # Force assets to be rebuilt if FORCE=true
|
||||
|
||||
# Install while in a temp dir to avoid polluting go.mod/go.sum
|
||||
pushd "${TMPDIR:-/tmp}" > /dev/null
|
||||
go get -u github.com/kevinburke/go-bindata/...
|
||||
popd > /dev/null
|
||||
|
||||
build_asset () {
|
||||
local package=$1
|
||||
|
Loading…
Reference in New Issue
Block a user