-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added vendor dir, added promu.yml, other pacaking updates
- Loading branch information
swarman
committed
Aug 26, 2016
1 parent
b934eae
commit 0481a0e
Showing
44 changed files
with
22,259 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/.idea | ||
/.build | ||
/.tarballs | ||
/prometheus-aggregate-exporter | ||
/vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
repository: | ||
path: github.com/warmans/prometheus-aggregate-exporter | ||
build: | ||
flags: -a -tags 'netgo static_build' | ||
ldflags: | ||
tarball: | ||
files: | ||
crossbuild: | ||
platforms: | ||
- linux/amd64 | ||
- linux/386 | ||
- darwin/amd64 | ||
- darwin/386 | ||
- windows/amd64 | ||
- windows/386 | ||
- netbsd/amd64 | ||
- netbsd/386 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
GO := GO15VENDOREXPERIMENT=1 go | ||
PROMU ?= $(GOPATH)/bin/promu | ||
|
||
PREFIX ?= $(shell pwd) | ||
BIN_DIR ?= $(shell pwd) | ||
|
||
.PHONY: prerequisites | ||
prerequisites: | ||
$(GO) get -u github.com/prometheus/promu | ||
|
||
.PHONY: build | ||
build: prerequisites | ||
@echo ">> building binaries" | ||
$(PROMU) build --prefix $(PREFIX) | ||
|
||
.PHONY: crossbuild | ||
crossbuild: prerequisites | ||
@echo ">> crossbuilding binaries" | ||
$(PROMU) crossbuild | ||
$(PROMU) crossbuild tarballs | ||
|
||
release: | ||
#requires GITHUB_TOKEN environment variable with valid token and an | ||
#already created release on github | ||
$(PROMU) release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.