From 3cf41497c120ed393b073deca76bd6d9d932bd8e Mon Sep 17 00:00:00 2001 From: Mark van Holsteijn Date: Wed, 16 Oct 2019 16:33:00 +0200 Subject: [PATCH] replaced vendor.json with go.mod --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a4f2031..a3e64bc 100644 --- a/Makefile +++ b/Makefile @@ -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