pantry/projects/github.com/cosmtrek/air/package.yml
Markus Zoppelt 066892a193 +air
2023-11-18 15:46:22 -05:00

29 lines
441 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: |
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