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:
dependencies:
go.dev: ^1.18
script: |
make install PREFIX="{{ prefix }}"
script: make install PREFIX="{{ prefix }}" $EXTRA_ARGS
env:
linux:
EXTRA_ARGS: GO_LDFLAGS=-buildmode=pie
test:
test "$(direnv --version)" = "{{ version }}"
test: test "$(direnv --version)" = "{{ version }}"