From e7e802e2db7da54ef9b86843044b7b583a9ebf37 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 16 Oct 2023 22:55:02 +0200 Subject: [PATCH] +aws-vault -- A vault for securely storing and accessing AWS credentials --- .../99designs/aws-vault/package.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/github.com/99designs/aws-vault/package.yml diff --git a/projects/github.com/99designs/aws-vault/package.yml b/projects/github.com/99designs/aws-vault/package.yml new file mode 100644 index 00000000..1ce6a817 --- /dev/null +++ b/projects/github.com/99designs/aws-vault/package.yml @@ -0,0 +1,29 @@ +distributable: + url: https://github.com/99designs/aws-vault/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +versions: + github: 99designs/aws-vault + strip: /^v/ + +build: + dependencies: + go.dev: ^1.20 + script: | + go build -v -ldflags="$LDFLAGS" -o aws-vault ./main.go + mkdir -p "{{ prefix }}"/bin + mv aws-vault "{{ prefix }}"/bin + env: + CGO_ENABLED: 0 + LDFLAGS: + - -extldflags=-static + - -w + - -s + - -X=main.Version=v{{version}} + +provides: + - bin/aws-vault + +test: + script: | + test "$(aws-vault --version 2>&1)" = v{{version}}