Skip to content

Commit

Permalink
Added vendor dir, added promu.yml, other pacaking updates
Browse files Browse the repository at this point in the history
  • Loading branch information
swarman committed Aug 26, 2016
1 parent b934eae commit 0481a0e
Show file tree
Hide file tree
Showing 44 changed files with 22,259 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.idea
/.build
/.tarballs
/prometheus-aggregate-exporter
/vendor
17 changes: 17 additions & 0 deletions .promu.yml
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
25 changes: 25 additions & 0 deletions Makefile
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
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.1
9 changes: 9 additions & 0 deletions vendor/github.com/go-yaml/yaml.git/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

188 changes: 188 additions & 0 deletions vendor/github.com/go-yaml/yaml.git/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions vendor/github.com/go-yaml/yaml.git/LICENSE.libyaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0481a0e

Please sign in to comment.