mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
github.com/maxbrunsfeld/counterfeiter (#2237)
* new file: projects/github.com/maxbrunsfeld/counterfeiter/package.yml * add runtime deps & env
This commit is contained in:
parent
b577500f9f
commit
8e1e2af1de
1 changed files with 36 additions and 0 deletions
36
projects/github.com/maxbrunsfeld/counterfeiter/package.yml
Normal file
36
projects/github.com/maxbrunsfeld/counterfeiter/package.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
distributable:
|
||||
url: https://github.com/maxbrunsfeld/counterfeiter/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: maxbrunsfeld/counterfeiter
|
||||
|
||||
runtime:
|
||||
env:
|
||||
GOROOT: "{{deps.go.dev.prefix}}"
|
||||
|
||||
dependencies:
|
||||
go.dev: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
go.dev: '*'
|
||||
script: go build $ARGS
|
||||
env:
|
||||
ARGS:
|
||||
- -trimpath
|
||||
- -o={{prefix}}/bin/counterfeiter
|
||||
|
||||
provides:
|
||||
- bin/counterfeiter
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
go.dev: '*'
|
||||
env:
|
||||
GOROOT: "{{deps.go.dev.prefix}}"
|
||||
script: |
|
||||
counterfeiter -p os 2>&1
|
||||
test -e osshim
|
Loading…
Reference in a new issue