pantry/projects/github.com/cosmtrek/air/package.yml

30 lines
441 B
YAML
Raw Normal View History

2023-11-18 18:28:23 +03:00
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