[Pkg-javascript-commits] [jquery] 12/18: add a simple build-time test under override_dh_auto_test
Antonio Terceiro
terceiro at moszumanska.debian.org
Sat Apr 9 13:59:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch debian/1.x
in repository jquery.
commit e17b8923c363ee009db91db19cc0cb1e0f1f087f
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sat Apr 9 10:25:22 2016 -0300
add a simple build-time test under override_dh_auto_test
---
debian/changelog | 1 +
debian/rules | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 69ceefe..6146618 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ jquery (1.12.3-1) UNRELEASED; urgency=medium
- change date formatting to cope with changes in output of `date
--iso-8601=m` starting with coreutils 8.25
- drop workaround for bug in upstream build that has been fixed
+ - add a simple build-time test under override_dh_auto_test
* debian/control:
- Bump Standards-Version to 3.9.7, no changes needed
- Use https in Vcs-* URLs
diff --git a/debian/rules b/debian/rules
index 4047d37..1aa1805 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,11 @@ version = $(shell dpkg-parsechangelog -SVersion | cut -d - -f 1)
override_dh_auto_build: dist/jquery.js dist/jquery.min.js dist/jquery.min.map
dh_auto_build
+override_dh_auto_test:
+ nodejs --check dist/jquery.js
+ nodejs --check dist/jquery.min.js
+ ./debian/tests/check-minification dist/jquery.min.js
+
build.js: debian/build.js
cp $< $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery.git
More information about the Pkg-javascript-commits
mailing list