mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-24 05:04:05 -08:00
make: do not call go-bindata on building.
This commit is contained in:
parent
ae2bff45ea
commit
8d304d95e5
6
Makefile
6
Makefile
|
@ -26,7 +26,7 @@ advice: $(GOCC)
|
||||||
|
|
||||||
binary: build
|
binary: build
|
||||||
|
|
||||||
build: tools web $(GOPATH)
|
build: tools $(GOPATH)
|
||||||
$(GO) build -o prometheus $(BUILDFLAGS) .
|
$(GO) build -o prometheus $(BUILDFLAGS) .
|
||||||
|
|
||||||
docker: build
|
docker: build
|
||||||
|
@ -49,7 +49,7 @@ tag:
|
||||||
$(BUILD_PATH)/cache/$(GOPKG):
|
$(BUILD_PATH)/cache/$(GOPKG):
|
||||||
$(CURL) -o $@ -L $(GOURL)/$(GOPKG)
|
$(CURL) -o $@ -L $(GOURL)/$(GOPKG)
|
||||||
|
|
||||||
benchmark: dependencies tools web
|
benchmark: dependencies tools
|
||||||
$(GO) test $(GO_TEST_FLAGS) -test.run='NONE' -test.bench='.*' -test.benchmem ./... | tee benchmark.txt
|
$(GO) test $(GO_TEST_FLAGS) -test.run='NONE' -test.bench='.*' -test.benchmem ./... | tee benchmark.txt
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -84,7 +84,7 @@ race_condition_run: race_condition_binary
|
||||||
search_index:
|
search_index:
|
||||||
godoc -index -write_index -index_files='search_index'
|
godoc -index -write_index -index_files='search_index'
|
||||||
|
|
||||||
test: dependencies tools web
|
test: dependencies tools
|
||||||
$(GO) test $(GO_TEST_FLAGS) ./...
|
$(GO) test $(GO_TEST_FLAGS) ./...
|
||||||
|
|
||||||
tools: dependencies
|
tools: dependencies
|
||||||
|
|
|
@ -21,6 +21,6 @@ blob/files.go: go-bindata $(shell find blob/templates/ blob/static/ -type f)
|
||||||
$(GO) generate ./blob
|
$(GO) generate ./blob
|
||||||
|
|
||||||
go-bindata:
|
go-bindata:
|
||||||
$(GO) get -u github.com/jteeuwen/go-bindata/...
|
$(GO) get github.com/jteeuwen/go-bindata/...
|
||||||
|
|
||||||
.PHONY: go-bindata
|
.PHONY: go-bindata
|
||||||
|
|
Loading…
Reference in a new issue