Skip to content

Commit

Permalink
Add release target to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamás Michelberger committed Apr 7, 2017
1 parent 1ce290e commit 2457830
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2457830

Please sign in to comment.