[Pkg-javascript-commits] [node-chalk] 01/01: enable chalk

Paolo Greppi paolog-guest at moszumanska.debian.org
Mon Nov 28 17:11:52 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-chalk.

commit 50ee0e8e5aa4645643eabc82bb69dc42a21ad9dd
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Sat Nov 26 09:45:59 2016 +0000

    enable chalk
---
 debian/changelog                    |  4 ++--
 debian/patches/01-test_enabled.diff | 13 +++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 94b8ca2..3a69086 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,9 +2,9 @@ node-chalk (1.1.3-2) UNRELEASED; urgency=medium
 
   * Team upload.
   * Get rid of build dependencies required for testing only on Windows
-    and enable tests during packaging.
+    and enable tests during build & autopkgtest.
 
- -- Paolo Greppi <paolo.greppi at libpf.com>  Wed, 23 Nov 2016 15:49:31 +0000
+ -- Paolo Greppi <paolo.greppi at libpf.com>  Sun, 27 Nov 2016 21:17:39 +0000
 
 node-chalk (1.1.3-1) unstable; urgency=low
 
diff --git a/debian/patches/01-test_enabled.diff b/debian/patches/01-test_enabled.diff
new file mode 100644
index 0000000..e11eb80
--- /dev/null
+++ b/debian/patches/01-test_enabled.diff
@@ -0,0 +1,13 @@
+Index: node-chalk/test.js
+===================================================================
+--- node-chalk.orig/test.js
++++ node-chalk/test.js
+@@ -3,6 +3,8 @@ var assert = require('assert');
+ var semver = require('semver');
+ var chalk = require('./');
+ 
++chalk.enabled = true;
++
+ describe('chalk', function () {
+ 	it('should style string', function () {
+ 		assert.equal(chalk.underline('foo'), '\u001b[4mfoo\u001b[24m');
diff --git a/debian/patches/series b/debian/patches/series
index 09924a3..6c1b451 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 00-remove_windows_tests.diff
+01-test_enabled.diff

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



More information about the Pkg-javascript-commits mailing list