Add a basic build-time syntax check for live-build/auto/*.

This commit is contained in:
Colin Watson 2016-04-20 21:23:08 +01:00
parent e5142015a3
commit fbe561532b
2 changed files with 12 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
livecd-rootfs (2.407) UNRELEASED; urgency=medium
* Add a basic build-time syntax check for live-build/auto/*.
-- Colin Watson <cjwatson@ubuntu.com> Wed, 20 Apr 2016 21:22:50 +0100
livecd-rootfs (2.406) xenial; urgency=medium
* Fix syntax error.

6
debian/rules vendored
View File

@ -4,6 +4,12 @@
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
override_dh_auto_test:
dh_auto_test
set -e; for x in live-build/auto/*; do \
sh -n "$$x"; \
done
override_dh_install:
dh_install
find debian/livecd-rootfs -type f -print0 | \