pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/lua-lustache
Module Name: pkgsrc
Committed By: nia
Date: Wed Jul 8 16:33:31 UTC 2020
Modified Files:
pkgsrc/textproc/lua-lustache: Makefile
Log Message:
lua-lustache: Support for testing
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/lua-lustache/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/lua-lustache/Makefile
diff -u pkgsrc/textproc/lua-lustache/Makefile:1.4 pkgsrc/textproc/lua-lustache/Makefile:1.5
--- pkgsrc/textproc/lua-lustache/Makefile:1.4 Thu Jul 2 10:26:19 2020
+++ pkgsrc/textproc/lua-lustache/Makefile Wed Jul 8 16:33:31 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/07/02 10:26:19 nia Exp $
+# $NetBSD: Makefile,v 1.5 2020/07/08 16:33:31 nia Exp $
DISTNAME= lustache-1.3.1
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
@@ -12,6 +12,8 @@ HOMEPAGE= https://olivinelabs.com/lustac
COMMENT= Logic-less mustache templates with Lua
LICENSE= mit
+TEST_DEPENDS+= ${LUA_PKGPREFIX}-busted-[0-9]*:../../devel/lua-busted
+
USE_LANGUAGES= # none
NO_BUILD= yes
@@ -22,5 +24,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/src/*.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}
${INSTALL_DATA} ${WRKSRC}/src/lustache/*.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/lustache
+do-test:
+ cd ${WRKSRC} && ${PREFIX}/bin/busted${_LUA_DOT_VERSION}
+
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index