From 6ee9a2270caaa0ab99f48096acdf0e0c1370f1ff Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Tue, 25 Jul 2023 12:12:24 +0300 Subject: [PATCH] vektra.github.io/mockery --- projects/vektra.github.io/mockery/package.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/vektra.github.io/mockery/package.yml diff --git a/projects/vektra.github.io/mockery/package.yml b/projects/vektra.github.io/mockery/package.yml new file mode 100644 index 00000000..c8d7e03a --- /dev/null +++ b/projects/vektra.github.io/mockery/package.yml @@ -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}}