[Pkg-javascript-commits] [jquery] 15/16: debian/rules: add simple build-time tests on override_dh_auto_test
Antonio Terceiro
terceiro at moszumanska.debian.org
Sat Apr 9 17:32:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository jquery.
commit 1d000b30297dccef0e3024b2bae4f52e7d01610a
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sat Apr 9 14:29:28 2016 -0300
debian/rules: add simple build-time tests on override_dh_auto_test
---
debian/changelog | 1 +
debian/rules | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 53a83d0..473171f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ jquery (3.0.0~beta1-1) UNRELEASED; urgency=medium
- use https URLs in Vcs-*
* debian/tests/check-against-upstream-build: download upstream build over
https
+ * debian/rules: add simple build-time tests on override_dh_auto_test
-- Antonio Terceiro <terceiro at debian.org> Sat, 09 Apr 2016 11:06:39 -0300
diff --git a/debian/rules b/debian/rules
index b045fb1..8d968b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,11 @@ dist/jquery.js: build.js $(source)
dist/jquery.min.js dist/jquery.min.map: dist/jquery.js
./debian/minify $^
+override_dh_auto_test:
+ nodejs --check dist/jquery.js
+ nodejs --check dist/jquery.min.js
+ ./debian/tests/check-minification dist/jquery.min.js
+
override_dh_auto_clean:
$(RM) -rf dist/
$(RM) build.js
--
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