mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
new file: projects/github.com/mitchellh/gox/package.yml
This commit is contained in:
parent
e00f2ae01b
commit
b577500f9f
1 changed files with 35 additions and 0 deletions
35
projects/github.com/mitchellh/gox/package.yml
Normal file
35
projects/github.com/mitchellh/gox/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/mitchellh/gox/archive/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: mitchellh/gox/tags
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
go.dev: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script: go build $ARGS
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -trimpath
|
||||||
|
- -o={{prefix}}/bin/gox
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/gox
|
||||||
|
|
||||||
|
test:
|
||||||
|
env:
|
||||||
|
GO111MODULE: "auto"
|
||||||
|
dependencies:
|
||||||
|
gnu.org/wget: '*'
|
||||||
|
go.dev: '*'
|
||||||
|
script:
|
||||||
|
- wget https://github.com/allaboutapps/go-starter/archive/go-starter-2023-05-03.tar.gz
|
||||||
|
- tar -xz -fgo-starter-2023-05-03.tar.gz
|
||||||
|
- cd ./go-starter-go-starter-2023-05-03
|
||||||
|
- gox -arch amd64 -os darwin -os freebsd
|
||||||
|
- test -x ./go-starter_darwin_amd64
|
Loading…
Reference in a new issue