Merge pull request #2456 from Shopify/bindata-fix

Assert or install go-bindata before incanting
This commit is contained in:
k8s-ci-robot 2018-04-30 22:13:16 -07:00 committed by GitHub
commit 278c055c93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,6 +137,7 @@ clean:
.PHONE: code-generator .PHONE: code-generator
code-generator: code-generator:
@go-bindata -version || go get -u github.com/jteeuwen/go-bindata/...
go-bindata -nometadata -o internal/file/bindata.go -prefix="rootfs" -pkg=file -ignore=Dockerfile -ignore=".DS_Store" rootfs/... go-bindata -nometadata -o internal/file/bindata.go -prefix="rootfs" -pkg=file -ignore=Dockerfile -ignore=".DS_Store" rootfs/...
.PHONY: build .PHONY: build