add(aws-vault,keychain)

closes #4188
This commit is contained in:
Jacob Heider 2023-11-23 13:00:10 -05:00 committed by Jacob Heider
parent 02766bfb8d
commit 431fefd66b

View file

@ -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