mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
0f865aedde
commit
eaa6027791
1 changed files with 9 additions and 9 deletions
|
@ -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