Joachim Hill-Grannec
7 years ago
2 changed files with 0 additions and 80 deletions
@ -1,46 +0,0 @@ |
|||||
[people] |
|
||||
[people.bradrydzewski] |
|
||||
name = "Brad Rydzewski" |
|
||||
email = "brad@drone.io" |
|
||||
login = "bradrydzewski" |
|
||||
[people.Bugagazavr] |
|
||||
name = "Kirill" |
|
||||
email = "" |
|
||||
login = "Bugagazavr" |
|
||||
[people.donny-dont] |
|
||||
name = "Don Olmstead" |
|
||||
email = "donny-dont@gmail.com" |
|
||||
login = "donny-dont" |
|
||||
[people.jackspirou] |
|
||||
name = "Jack Spirou" |
|
||||
email = "" |
|
||||
login = "jackspirou" |
|
||||
[people.msteinert] |
|
||||
name = "Mike Steinert" |
|
||||
email = "" |
|
||||
login = "msteinert" |
|
||||
[people.nlf] |
|
||||
name = "Nathan LaFreniere" |
|
||||
email = "" |
|
||||
login = "nlf" |
|
||||
[people.tboerger] |
|
||||
name = "Thomas Boerger" |
|
||||
email = "thomas@webhippie.de" |
|
||||
login = "tboerger" |
|
||||
[people.athieriot] |
|
||||
name = "Aurélien Thieriot" |
|
||||
email = "a.thieriot@gmail.com" |
|
||||
login = "athieriot" |
|
||||
|
|
||||
[org] |
|
||||
[org.core] |
|
||||
people = [ |
|
||||
"bradrydzewski", |
|
||||
"Bugagazavr", |
|
||||
"donny-dont", |
|
||||
"jackspirou", |
|
||||
"msteinert", |
|
||||
"nlf", |
|
||||
"tboerger", |
|
||||
"athieriot" |
|
||||
] |
|
@ -1,34 +0,0 @@ |
|||||
.PHONY: all clean deps fmt vet test docker |
|
||||
|
|
||||
EXECUTABLE ?= drone-terraform |
|
||||
IMAGE ?= plugins/$(EXECUTABLE) |
|
||||
COMMIT ?= $(shell git rev-parse --short HEAD) |
|
||||
|
|
||||
LDFLAGS = -X "main.buildCommit=$(COMMIT)" |
|
||||
PACKAGES = $(shell go list ./... | grep -v /vendor/) |
|
||||
|
|
||||
all: deps build test |
|
||||
|
|
||||
clean: |
|
||||
go clean -i ./... |
|
||||
|
|
||||
deps: |
|
||||
go get -t ./... |
|
||||
|
|
||||
fmt: |
|
||||
go fmt $(PACKAGES) |
|
||||
|
|
||||
vet: |
|
||||
go vet $(PACKAGES) |
|
||||
|
|
||||
test: |
|
||||
@for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done; |
|
||||
|
|
||||
docker: |
|
||||
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-s -w $(LDFLAGS)' |
|
||||
docker build --rm -t $(IMAGE) . |
|
||||
|
|
||||
$(EXECUTABLE): $(wildcard *.go) |
|
||||
go build -ldflags '-s -w $(LDFLAGS)' |
|
||||
|
|
||||
build: $(EXECUTABLE) |
|
Loading…
Reference in new issue