Browse Source

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

Signed-off-by: Luke Chen <showuon@gmail.com>
pull/10569/head
Luke Chen 3 years ago committed by GitHub
parent
commit
6555cc68ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .promu.yml
  2. 2
      Makefile

2
.promu.yml

@ -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

2
Makefile

@ -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)

Loading…
Cancel
Save