From 6555cc68caf8d8f323056e497ae7bb1e32a81667 Mon Sep 17 00:00:00 2001 From: Luke Chen Date: Fri, 8 Apr 2022 19:47:59 +0800 Subject: [PATCH] Make the `make build` depends on `npm_licenses` task (#7843) Signed-off-by: Luke Chen --- .promu.yml | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.promu.yml b/.promu.yml index 6edc2c297c..cf58e83d6f 100644 --- a/.promu.yml +++ b/.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 diff --git a/Makefile b/Makefile index c5b58bf5ab..44ddf88511 100644 --- a/Makefile +++ b/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)