pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

go-mock: USE_TOOLS+= bash in Makefile



Module Name:	pkgsrc-wip
Committed By:	K.I.A Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Wed Jan 20 23:55:32 2021 +0100
Changeset:	cb7a8b7da2d3ecf2fa925cac2ab24fdbe2480cae

Modified Files:
	go-mock/Makefile

Log Message:
go-mock: USE_TOOLS+= bash in Makefile

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cb7a8b7da2d3ecf2fa925cac2ab24fdbe2480cae

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 go-mock/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/go-mock/Makefile b/go-mock/Makefile
index c66fc44b2a..9310d5afa9 100644
--- a/go-mock/Makefile
+++ b/go-mock/Makefile
@@ -14,6 +14,11 @@ LICENSE=	apache-2.0
 GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
 GO_SRCPATH=	github.com/golang/mock
 
+USE_TOOLS+=	bash:run
+
+REPLACE_BASH+=	ci/check_go_fmt.sh ci/check_go_generate.sh \
+		ci/check_go_lint.sh ci/check_go_mod.sh
+
 .include "../../devel/go-mod/buildlink3.mk"
 .include "../../devel/go-tools/buildlink3.mk"
 .include "../../devel/go-xerrors/buildlink3.mk"


Home | Main Index | Thread Index | Old Index