Browse Source

Add debian build check

Alois Mahdal 6 years ago
parent
commit
1597ea1e29
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      packaging/debian/rules

+ 6
- 0
packaging/debian/rules View File

7
 override_dh_auto_install:
7
 override_dh_auto_install:
8
 
8
 
9
 	make install PREFIX=/usr DESTDIR=debian/tmp
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