fix(direnv)

closes #4256
This commit is contained in:
Jacob Heider 2023-11-29 13:03:28 -05:00
parent 8c41abcbd6
commit 48ad65acfe
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -11,8 +11,9 @@ provides:
build: build:
dependencies: dependencies:
go.dev: ^1.18 go.dev: ^1.18
script: | script: make install PREFIX="{{ prefix }}" $EXTRA_ARGS
make install PREFIX="{{ prefix }}" env:
linux:
EXTRA_ARGS: GO_LDFLAGS=-buildmode=pie
test: test: test "$(direnv --version)" = "{{ version }}"
test "$(direnv --version)" = "{{ version }}"