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: build:
dependencies: dependencies:
go.dev: ^1.20 go.dev: ^1.20
script: | script: go build -v -ldflags="$LDFLAGS" -o "{{ prefix }}"/bin/aws-vault ./main.go
go build -v -ldflags="$LDFLAGS" -o aws-vault ./main.go
mkdir -p "{{ prefix }}"/bin
mv aws-vault "{{ prefix }}"/bin
env: env:
CGO_ENABLED: 0
LDFLAGS: LDFLAGS:
- -extldflags=-static
- -w - -w
- -s - -s
- -X=main.Version=v{{version}} - -X=main.Version=v{{version}}
linux:
CGO_ENABLED: 0
LDFLAGS:
- -extldflags=-static
darwin:
SDKROOT: $(xcrun --sdk macosx --show-sdk-path)
CGO_ENABLED: 1
provides: provides:
- bin/aws-vault - bin/aws-vault