[arch-commits] Commit in firefox-dark-reader/trunk (PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Sat Nov 28 06:06:55 UTC 2020


    Date: Saturday, November 28, 2020 @ 06:06:55
  Author: polyzen
Revision: 765045

Add check()

Modified:
  firefox-dark-reader/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++++
 1 file changed, 5 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-28 04:01:22 UTC (rev 765044)
+++ PKGBUILD	2020-11-28 06:06:55 UTC (rev 765045)
@@ -19,6 +19,11 @@
   npm run build
 }
 
+check() {
+  cd darkreader-$pkgver
+  npm test
+}
+
 package() {
   cd darkreader-$pkgver
   install -Dm644 build-firefox.xpi "$pkgdir"/usr/lib/firefox/browser/extensions/addon at darkreader.org.xpi



More information about the arch-commits mailing list