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

ubuntu/yakkety
Colin Watson 9 years ago
parent e5142015a3
commit fbe561532b

6
debian/changelog vendored

@ -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 livecd-rootfs (2.406) xenial; urgency=medium
* Fix syntax error. * Fix syntax error.

6
debian/rules vendored

@ -4,6 +4,12 @@
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) 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: override_dh_install:
dh_install dh_install
find debian/livecd-rootfs -type f -print0 | \ find debian/livecd-rootfs -type f -print0 | \

Loading…
Cancel
Save