From 431fefd66b6311f27bea373edd821f545cc2237f Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 23 Nov 2023 13:00:10 -0500 Subject: [PATCH] add(aws-vault,keychain) closes #4188 --- .../github.com/99designs/aws-vault/package.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/projects/github.com/99designs/aws-vault/package.yml b/projects/github.com/99designs/aws-vault/package.yml index 1ce6a817..1b7e37a3 100644 --- a/projects/github.com/99designs/aws-vault/package.yml +++ b/projects/github.com/99designs/aws-vault/package.yml @@ -9,17 +9,19 @@ versions: 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 + script: go build -v -ldflags="$LDFLAGS" -o "{{ prefix }}"/bin/aws-vault ./main.go env: - CGO_ENABLED: 0 LDFLAGS: - - -extldflags=-static - -w - -s - -X=main.Version=v{{version}} + linux: + CGO_ENABLED: 0 + LDFLAGS: + - -extldflags=-static + darwin: + SDKROOT: $(xcrun --sdk macosx --show-sdk-path) + CGO_ENABLED: 1 provides: - bin/aws-vault