terraform/vendor/github.com/PagerDuty/go-pagerduty/Makefile

20 lines
288 B
Makefile
Raw Normal View History

2016-09-26 11:36:26 +02:00
SOURCEDIR=.
SOURCES = $(shell find $(SOURCEDIR) -name '*.go')
VERSION=$(git describe --always --tags)
BINARY=bin/pd
bin: $(BINARY)
$(BINARY): $(SOURCES)
go build -o $(BINARY) command/*
.PHONY: build
build:
go get ./...
go test ./...
go vet ./...
.PHONY: test
test:
go test ./...