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

20 lines
288 B
Makefile

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 ./...