mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Make prometheus build on bazooka repo manager
- Build build/package on build target - And include .pkgignore
This commit is contained in:
parent
2a9957ea07
commit
22a40c298d
24
.pkgignore
Normal file
24
.pkgignore
Normal file
|
@ -0,0 +1,24 @@
|
|||
*.go
|
||||
*.md
|
||||
*.sh
|
||||
*.shlib
|
||||
*-stamp
|
||||
prometheus
|
||||
Makefile*
|
||||
tools
|
||||
utility
|
||||
stats
|
||||
documentation
|
||||
config
|
||||
build/*-stamp
|
||||
build/dirty
|
||||
build/cache
|
||||
build/root
|
||||
build/package/Makefile
|
||||
model
|
||||
.*
|
||||
coding
|
||||
retrieval
|
||||
web
|
||||
rules
|
||||
storage
|
8
Makefile
8
Makefile
|
@ -25,9 +25,11 @@ advice:
|
|||
$(GO) tool vet .
|
||||
|
||||
binary: build
|
||||
$(GO) build -o prometheus $(BUILDFLAGS) .
|
||||
|
||||
build: config dependencies model preparation tools web
|
||||
$(GO) build -o prometheus $(BUILDFLAGS) .
|
||||
cp prometheus build/package/prometheus
|
||||
rsync -av build/root/lib/ build/package/lib/
|
||||
|
||||
build/cache/$(GOPKG):
|
||||
curl -o $@ http://go.googlecode.com/files/$(GOPKG)
|
||||
|
@ -56,10 +58,6 @@ format:
|
|||
model: dependencies preparation
|
||||
$(MAKE) -C model
|
||||
|
||||
package: binary
|
||||
cp prometheus build/package/prometheus
|
||||
rsync -av build/root/lib/ build/package/lib/
|
||||
|
||||
preparation: $(GOCC) source_path
|
||||
$(MAKE) -C build
|
||||
|
||||
|
|
Loading…
Reference in a new issue