[Pkg-javascript-commits] [uglifyjs] 45/49: Don't fail testuite when targeting experimental.
Jonas Smedegaard
dr at jones.dk
Fri Dec 9 11:43:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository uglifyjs.
commit ef5b4df3581143114255f375c613ceba0ec97ccb
Author: Jonas Smedegaard <dr at jones.dk>
Date: Tue Nov 29 09:04:45 2016 +0100
Don't fail testuite when targeting experimental.
---
debian/rules | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 933f55e..a1285fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,9 @@ CDBS_RECOMMENDS_$(pkg) = node-source-map
CDBS_SUGGESTS_$(pkg) = node-uglify-to-browserify
CDBS_PROVIDES_$(pkg) = uglifyjs
+# don't fail on experimental builds
+DEB_SUITE_EXP = $(filter experimental% UNRELEASED,$(DEB_SUITE))
+
# generate man page from --help output of script itself
CDBS_BUILD_DEPENDS +=, help2man
DEB_INSTALL_MANPAGES_$(pkg) = debian/uglifyjs.1
@@ -49,7 +52,8 @@ debian/stamp-build:
NODE_PATH=lib help2man --no-info bin/uglifyjs > debian/uglifyjs.1
$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),\
,\
- NODE_PATH=lib nodejs test/run-tests.js)
+ NODE_PATH=lib nodejs test/run-tests.js \
+ $(if $(DEB_SUITE_EXP),|| true))
nodejs bin/uglifyjs \
--self \
--comments /Copyright/ \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list