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