diff --git a/.gitignore b/.gitignore index d702569..ef20fcf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ release +vendor diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 0000000..ccf5c1d --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,58 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + digest = "1:57b5b4338ce45764b26f737a35f9383e37ae4caf10f1a72796ba6cea64ae9aa6" + name = "github.com/aws/aws-sdk-go" + packages = [ + "aws", + "aws/awserr", + "aws/awsutil", + "aws/client", + "aws/client/metadata", + "aws/corehandlers", + "aws/credentials", + "aws/credentials/ec2rolecreds", + "aws/credentials/endpointcreds", + "aws/credentials/processcreds", + "aws/credentials/stscreds", + "aws/csm", + "aws/defaults", + "aws/ec2metadata", + "aws/endpoints", + "aws/request", + "aws/session", + "aws/signer/v4", + "internal/ini", + "internal/sdkio", + "internal/sdkrand", + "internal/sdkuri", + "internal/shareddefaults", + "private/protocol", + "private/protocol/json/jsonutil", + "private/protocol/query", + "private/protocol/query/queryutil", + "private/protocol/rest", + "private/protocol/xml/xmlutil", + "service/sts", + ] + pruneopts = "UT" + revision = "420cda5d6383f94f7d9c231aa44bad3325181950" + version = "v1.20.20" + +[[projects]] + digest = "1:bb81097a5b62634f3e9fec1014657855610c82d19b9a40c17612e32651e35dca" + name = "github.com/jmespath/go-jmespath" + packages = ["."] + pruneopts = "UT" + revision = "c2b33e84" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + input-imports = [ + "github.com/aws/aws-sdk-go/aws/credentials/stscreds", + "github.com/aws/aws-sdk-go/aws/session", + ] + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..c32df0d --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,34 @@ +# Gopkg.toml example +# +# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html +# for detailed Gopkg.toml documentation. +# +# required = ["github.com/user/thing/cmd/thing"] +# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] +# +# [[constraint]] +# name = "github.com/user/project" +# version = "1.0.0" +# +# [[constraint]] +# name = "github.com/user/project2" +# branch = "dev" +# source = "github.com/myfork/project2" +# +# [[override]] +# name = "github.com/x/y" +# version = "2.4.0" +# +# [prune] +# non-go = false +# go-tests = true +# unused-packages = true + + +[[constraint]] + name = "github.com/aws/aws-sdk-go" + version = "1.20.20" + +[prune] + go-tests = true + unused-packages = true diff --git a/Makefile b/Makefile index 2977519..419d6f1 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,12 @@ PLATFORMS := linux darwin os = $(word 1, $@) +.PHONY: deps +deps: + dep ensure + .PHONY: $(PLATFORMS) -$(PLATFORMS): +$(PLATFORMS): deps mkdir -p release GOOS=$(os) GOARCH=amd64 go build -o release/$(BINARY)-$(VERSION)-$(os)-amd64 sha256sum release/$(BINARY)-$(VERSION)-$(os)-amd64 > release/checksum-$(VERSION)-$(os).txt