mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
+air
This commit is contained in:
parent
a47af95d71
commit
066892a193
1 changed files with 29 additions and 0 deletions
29
projects/github.com/cosmtrek/air/package.yml
Normal file
29
projects/github.com/cosmtrek/air/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
|
Loading…
Reference in a new issue