mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
34 lines
No EOL
564 B
YAML
34 lines
No EOL
564 B
YAML
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:
|
|
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 |