[Pkg-javascript-commits] [node-bluebird] 17/17: Playing around to build with prebuilt & test with built release
Ross Gammon
ross-guest at moszumanska.debian.org
Tue Oct 10 11:39:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
ross-guest pushed a commit to branch master
in repository node-bluebird.
commit a47c533ab39a76abe25131d7fa92347c41fb2724
Author: Ross Gammon <rosco2 at ubuntu.com>
Date: Tue Oct 10 12:52:47 2017 +0200
Playing around to build with prebuilt & test with built release
Nearly finished - pushing so I can finalise on laptop.
---
debian/rules | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index a2ba89d..5f4338f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,9 +15,16 @@ override_dh_auto_build:
# prebuilt version of Bluebird into place to bootstrap things in
# Debian.
cp -r $(CURDIR)/debian/node-modules/ $(CURDIR)/node_modules/
- nodejs tools/build --release --no-minify
+ nodejs tools/build.js --release --no-minify
+ rm -r $(CURDIR)/debian/node-modules/ $(CURDIR)/node_modules/
+ ls -R
override_dh_auto_test:
+ # Use build release of bluebird for tests
+ mkdir -p $(CURDIR)/node_modules/bluebird/js/release
+ cp $(CURDIR)/js/release/* $(CURDIR)/node_modules/bluebird/js/release/
+ cp $(CURDIR)/package.json $(CURDIR)/node_modules/bluebird/
+ ls -R
# Some tests are failing/flaky. Therefore the following cannot be run
# for now:
#nodejs tools/test --no-js-hint
@@ -100,3 +107,8 @@ override_dh_auto_test:
nodejs tools/test --run=spread.js --no-js-hint
nodejs tools/test --run=error.js --no-js-hint
nodejs tools/test --run=synchronous_inspection.js --no-js-hint
+
+override_dh_install:
+ ls -R
+ dh_install
+ ls -R
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-bluebird.git
More information about the Pkg-javascript-commits
mailing list