Parcourir la source

Add debian build check

Alois Mahdal il y a 6 ans
Parent
révision
1597ea1e29
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6
    0
      packaging/debian/rules

+ 6
- 0
packaging/debian/rules Voir le fichier

@@ -7,3 +7,9 @@
7 7
 override_dh_auto_install:
8 8
 
9 9
 	make install PREFIX=/usr DESTDIR=debian/tmp
10
+
11
+override_dh_auto_test:
12
+	make install PREFIX=/usr DESTDIR=debian/tmp
13
+	make test \
14
+		SHELLFU_PATH=$(shell pwd)/debian/tmp/usr/share/shellfu/include-bash \
15
+		_PXPATH__BIN=$(shell pwd)/debian/tmp/usr/libexec/shellfu-bash-pxpath/pxpath