Make the make build depends on npm_licenses task (#7843)

Signed-off-by: Luke Chen <showuon@gmail.com>
This commit is contained in:
Luke Chen 2022-04-08 19:47:59 +08:00 committed by GitHub
parent 344b272b3e
commit 6555cc68ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -18,6 +18,8 @@ build:
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
tarball:
# Whenever there are new files to include in the tarball,
# remember to make sure the new files will be generated after `make build`.
files:
- consoles
- console_libraries

View file

@ -101,7 +101,7 @@ plugins/plugins.go: plugins.yml plugins/generate.go
plugins: plugins/plugins.go
.PHONY: build
build: assets assets-compress common-build plugins
build: assets npm_licenses assets-compress common-build plugins
.PHONY: bench_tsdb
bench_tsdb: $(PROMU)