From 2457830db5151d851e79dcae84ac1b9874ebb0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Michelberger?= Date: Fri, 7 Apr 2017 15:55:53 +0200 Subject: [PATCH] Add release target to Makefile --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6243aa6..e436cc8 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,16 @@ PACKAGES = $(shell go list ./... | grep -v vendor) +install: + go install -v + build: - go build -v -o terraform-provider-credstash + go build -v -i -o terraform-provider-credstash test: go test $(TESTOPTS) $(PACKAGES) +release: + GOOS=darwin go build -v -o terraform-provider-credstash_darwin_amd64 + GOOS=linux go build -v -o terraform-provider-credstash_linux_amd64 + .DEFAULT: build