pkgsrc-WIP-changes archive

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

rebar3: Add tests.



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Fri Apr 8 10:14:47 2022 +0200
Changeset:	9c397793086112591a84e71538aa89acaa26dabd

Modified Files:
	rebar3/Makefile

Log Message:
rebar3: Add tests.

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

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

diffstat:
 rebar3/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/rebar3/Makefile b/rebar3/Makefile
index 6305a16acd..3d24f2f1af 100644
--- a/rebar3/Makefile
+++ b/rebar3/Makefile
@@ -77,5 +77,10 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/rebar.config.sample \
 		${DESTDIR}${PREFIX}/share/examples/rebar3
 
+do-test:
+	cd ${WRKSRC} && \
+		${SETENV} ./rebar3 escriptize && \
+		${SETENV} ./rebar3 ct
+
 .include "../../lang/erlang/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index