*: fix assets generation
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
5dce2f5853
commit
bf9a1d3d15
2
Makefile
2
Makefile
|
@ -32,7 +32,7 @@ PRECHECK_OPTIONS_bzr = version
|
|||
.PHONY: assets
|
||||
assets:
|
||||
@echo ">> writing assets"
|
||||
cd $(PREFIX)/web/ui && GO111MODULE=$(GO111MODULE) $(GO) generate $(GOOPTS)
|
||||
cd $(PREFIX)/web/ui && GO111MODULE=$(GO111MODULE) $(GO) generate -x -v $(GOOPTS)
|
||||
@$(GOFMT) -w ./web/ui
|
||||
|
||||
.PHONY: check_assets
|
||||
|
|
|
@ -19,4 +19,4 @@ import (
|
|||
_ "github.com/shurcooL/vfsgen"
|
||||
)
|
||||
|
||||
//go:generate go run -tags=dev assets_generate.go
|
||||
//go:generate go run -mod=vendor -tags=dev assets_generate.go
|
||||
|
|
Loading…
Reference in New Issue