override lint makefile directive
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
This commit is contained in:
parent
4b86e08028
commit
f334232b85
3
Makefile
3
Makefile
|
@ -29,6 +29,9 @@ build-all: assets apiv2 build
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: build-react-app assets-compress common-build
|
build: build-react-app assets-compress common-build
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
|
lint: assets-compress common-lint
|
||||||
|
|
||||||
.PHONY: build-react-app
|
.PHONY: build-react-app
|
||||||
build-react-app:
|
build-react-app:
|
||||||
cd ui/react-app && npm install && npm run build
|
cd ui/react-app && npm install && npm run build
|
||||||
|
|
|
@ -19,5 +19,4 @@ import (
|
||||||
"github.com/prometheus/common/assets"
|
"github.com/prometheus/common/assets"
|
||||||
)
|
)
|
||||||
|
|
||||||
//nolint:typecheck // Ignore undeclared embedFS, it is part of generated code.
|
|
||||||
var Assets = http.FS(assets.New(embedFS))
|
var Assets = http.FS(assets.New(embedFS))
|
||||||
|
|
Loading…
Reference in New Issue