Skip to content

Commit

Permalink
replaced vendor.json with go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanholsteijn committed Oct 16, 2019
1 parent 3e44b43 commit 3cf4149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ GITHUB_API=https://api.github.com/repos/$(USERNAME)/$(NAME)
GITHUB_UPLOAD=https://uploads.github.com/repos/$(USERNAME)/$(NAME)


dist/ssm-get-parameter-$(VERSION)-linux-amd64.zip: main.go vendor/vendor.json
dist/ssm-get-parameter-$(VERSION)-linux-amd64.zip: main.go go.mod
mkdir -p dist
GOOS=linux GOARCH=amd64 go build -o dist/ssm-get-parameter main.go
cd dist && zip ../dist/ssm-get-parameter-$(VERSION)-linux-amd64.zip ssm-get-parameter && rm ssm-get-parameter

dist/ssm-get-parameter-$(VERSION)-darwin-amd64.zip: main.go vendor/vendor.json
dist/ssm-get-parameter-$(VERSION)-darwin-amd64.zip: main.go go.mod
mkdir -p dist
GOOS=darwin GOARCH=amd64 go build -o dist/ssm-get-parameter main.go
cd dist && zip ../dist/ssm-get-parameter-$(VERSION)-darwin-amd64.zip ssm-get-parameter && rm ssm-get-parameter
Expand Down

0 comments on commit 3cf4149

Please sign in to comment.