瀏覽代碼

Add debian build check

Alois Mahdal 6 年之前
父節點
當前提交
1597ea1e29
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      packaging/debian/rules

+ 6
- 0
packaging/debian/rules 查看文件

@@ -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