mirror of
https://github.com/prometheus/prometheus
synced 2025-01-12 09:40:00 +00:00
Fix the race condition targets in the Makefile.
Remove race_condition_run as the original run target has been removed, too. Fix the race_condition_binary target.
This commit is contained in:
parent
86474f3b0e
commit
b55a71a30c
6
Makefile
6
Makefile
@ -76,10 +76,8 @@ format: dependencies
|
|||||||
find . -iname '*.go' | egrep -v "^\./(\.build|Godeps)/" | xargs -n1 $(GOFMT) -w -s=true
|
find . -iname '*.go' | egrep -v "^\./(\.build|Godeps)/" | xargs -n1 $(GOFMT) -w -s=true
|
||||||
|
|
||||||
race_condition_binary: build
|
race_condition_binary: build
|
||||||
$(GO) build -race -o prometheus.race $(BUILDFLAGS) .
|
$(GO) build -race -o prometheus.race $(BUILDFLAGS) github.com/prometheus/prometheus/cmd/prometheus
|
||||||
|
$(GO) build -race -o promtool.race $(BUILDFLAGS) github.com/prometheus/prometheus/cmd/promtool
|
||||||
race_condition_run: race_condition_binary
|
|
||||||
./prometheus.race $(ARGUMENTS)
|
|
||||||
|
|
||||||
search_index:
|
search_index:
|
||||||
godoc -index -write_index -index_files='search_index'
|
godoc -index -write_index -index_files='search_index'
|
||||||
|
Loading…
Reference in New Issue
Block a user