[Pkg-javascript-commits] [node-cli-table] 12/14: Patched example to find installed cli-table
Ross Gammon
ross-guest at moszumanska.debian.org
Tue Mar 17 21:33:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
ross-guest pushed a commit to branch master
in repository node-cli-table.
commit 5ef4cd2f1844ad43db5378b4d5a908276048e153
Author: Ross Gammon <rossgammon at mail.dk>
Date: Tue Mar 17 22:13:15 2015 +0100
Patched example to find installed cli-table
---
debian/patches/fix-example-requires.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/fix-example-requires.patch b/debian/patches/fix-example-requires.patch
new file mode 100644
index 0000000..0d6d259
--- /dev/null
+++ b/debian/patches/fix-example-requires.patch
@@ -0,0 +1,18 @@
+Description: Patch example to find installed cli-table
+ The provided example assumes it will be run from within the source tree.
+ It was patched to find the installed cli-table instead. This was it can
+ be used as a manual test.
+Forwarded: not-needed
+Author: Ross Gammon <rossgammons at mail.dk>
+
+--- node-cli-table.orig/examples/revs.js
++++ node-cli-table/examples/revs.js
+@@ -3,7 +3,7 @@
+ * Module requirements.
+ */
+
+-var Table = require('../lib');
++var Table = require('cli-table');
+
+ /**
+ * Example.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5b3576c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-example-requires.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-cli-table.git
More information about the Pkg-javascript-commits
mailing list