[Pkg-javascript-commits] [backbone] 86/97: Build-depend on phantomjs and enable new tests.

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 16:56:04 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository backbone.

commit 781e9b3f231e046cddec0432633663bdf5da3b29
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Mar 14 11:35:30 2013 +0100

    Build-depend on phantomjs and enable new tests.
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 7da735e..55bf043 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,7 +35,7 @@ CDBS_BUILD_DEPENDS += , node-uglify | yui-compressor
 js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)
 
 underscore-minver = 1.4.3
-CDBS_BUILD_DEPENDS +=, coffeescript
+CDBS_BUILD_DEPENDS +=, coffeescript, phantomjs
 CDBS_BUILD_DEPENDS +=, node-underscore (>= $(underscore-minver)~)
 CDBS_DEPENDS_$(jspkg) = libjs-underscore (>= $(underscore-minver)~)
 CDBS_DEPENDS_$(nodepkg) = nodejs, libjs-backbone
@@ -56,6 +56,7 @@ DEB_INSTALL_DOCS_ALL += README.md
 build/$(jspkg):: debian/stamp-build
 debian/stamp-build:
 	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,coffee test/*.coffee)
+	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,phantomjs test/vendor/runner.js test/index.html?noglobals=true)
 	touch $@
 clean::
 	rm -f debian/stamp-build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git



More information about the Pkg-javascript-commits mailing list