opentofu/vendor/github.com/PagerDuty/go-pagerduty/Makefile
2016-10-24 14:19:55 +02:00

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