mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 04:55:08 +03:00
eaa6027791
closes #5302
29 lines
512 B
YAML
29 lines
512 B
YAML
distributable:
|
|
url: https://github.com/cosmtrek/air/archive/refs/tags/v{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
display-name: air
|
|
|
|
versions:
|
|
github: cosmtrek/air
|
|
|
|
provides:
|
|
- bin/air
|
|
|
|
build:
|
|
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.22
|
|
|
|
test: air -v
|