closes #5302
This commit is contained in:
Jacob Heider 2024-02-21 14:29:22 -05:00 committed by Jacob Heider
parent 0f865aedde
commit eaa6027791

View file

@ -11,19 +11,19 @@ provides:
- bin/air
build:
script: |
make build
mkdir -p "{{ prefix }}"/bin
mv air "{{ prefix }}"/bin
script:
# otherwise it breaks the go compiler's brain
- run: unset LDFLAGS
if: darwin
- make build
- mkdir -p "{{ prefix }}"/bin
- mv air "{{ prefix }}"/bin
env:
linux:
LDFLAGS:
- -buildmode=pie
dependencies:
git-scm.org: '*'
go.dev: ^1.20
gnu.org/make: '*'
test:
air -v
go.dev: ^1.22
test: air -v