mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
0f865aedde
commit
eaa6027791
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue