mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
vektra.github.io/mockery
This commit is contained in:
parent
1554f7e49d
commit
6ee9a2270c
1 changed files with 23 additions and 0 deletions
23
projects/vektra.github.io/mockery/package.yml
Normal file
23
projects/vektra.github.io/mockery/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/vektra/mockery/archive/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
github: vektra/mockery
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: '*'
|
||||||
|
script:
|
||||||
|
- go build $ARGS -ldflags="$LDFLAGS"
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -trimpath
|
||||||
|
- -o={{prefix}}/bin/mockery
|
||||||
|
LDFLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
- -X github.com/vektra/mockery/v2/pkg/logging.SemVer=v{{version}}
|
||||||
|
provides:
|
||||||
|
- bin/mockery
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- mockery --version | grep {{version}}
|
Loading…
Reference in a new issue