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
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue