[Pkg-javascript-commits] [node-bluebird] 12/16: Finalise README.Debian

Ross Gammon ross-guest at moszumanska.debian.org
Sun Oct 15 13:03:21 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 f4f3dd6c43b863a612c48ed40025e07bb4280054
Author: Ross Gammon <rosco2 at ubuntu.com>
Date:   Sun Oct 15 13:38:43 2017 +0200

    Finalise README.Debian
---
 debian/README.Debian | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 2dc6b03..a5d11bd 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -4,17 +4,20 @@ To-do
 requires the following build dependencies not yet packaged for Debian:
 -browserify
 
-Then the build can be executed with:
-$ NODE_PATH=src node tools/build.js --no-debug --main --browser --minify
+2. Bluebird depends on a prebuilt version of itself to build all the
+files in "js/release" for the node package. Once bluebird has been in
+the archive for a while, it might be possible to use build-profiles
+to conditionally use the packaged version of bluebird to build. It would
+have to be conditional to allow downstream distributions to boostrap
+bluebird for the first time in their distribution.
 
-Note: The bluebird.js in the src directory does not work. Only a blubird.js
-built with the "build.js --main" option works.
+3. The upstream test suite is currently run by moving the built version
+of bluebird into the node_module directory for the tests. We may be able
+to use build-profiles (see 2. above) to only conditionally do this. As
+jshint is unlikely to appear in Debian soon (due to licensing issues)
+the upstream testsuite is run using the "--no-jshint" option. There are
+a few tests that fail at the moment. We should try and fix these, or
+exclude them using a glob, to avoid the long list of individual tests,
+and to speed up the time it takes to run the tests.
 
-2. Run the upstream test suite during the build. In addition to many of the
-dependencies needed for building, the test suite also needs:
--sinon
--jshint-stylish
--jshint
-
-Then the tests can be run with:
-$ NODE_PATH=src nodejs tools/test.js
+ -- Ross Gammon <rossgammon at debian.org> Sun, 15 Oct 2017 13:16:00 +0100

-- 
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