[Pkg-javascript-commits] [node-umd] 15/18: Fix error
Bastien Roucariès
rouca at moszumanska.debian.org
Mon Apr 17 07:38:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to tag debian-3.0.1+ds-1
in repository node-umd.
commit 9f78aa80164d611fb903f58f9611487c11350ce0
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Fri Apr 14 15:31:04 2017 +0200
Fix error
---
debian/TODO | 1 +
debian/tests/control | 2 +-
debian/tests/runtestsuite | 6 +++---
debian/umd.1 | 2 +-
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..03a0303
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1 @@
+investigate why examples/build.js does not work
\ No newline at end of file
diff --git a/debian/tests/control b/debian/tests/control
index efba089..df3e065 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -5,4 +5,4 @@ Tests: runtestsuite
Depends: node-umd, mocha
Tests: runexamples
-Depends: node-umd
\ No newline at end of file
+Depends: node-umd
diff --git a/debian/tests/runtestsuite b/debian/tests/runtestsuite
index a9a1a52..dc65a90 100755
--- a/debian/tests/runtestsuite
+++ b/debian/tests/runtestsuite
@@ -7,8 +7,8 @@ SEDCMD="s,require\s*[(]\s*'[.][.][^']*'\s*[)],require('$PACKAGE'),g"
tmpdir=$(mktemp -d)
trap 'rm -rf "$tmpdir"' EXIT INT TERM HUP
-cp -r test $tmpdir
-find test/ -maxdepth 1 -name '*.js' -print0 | \
+cp -r tests $tmpdir
+find tests/ -maxdepth 1 -name '*.js' -print0 | \
xargs -0 -n1 \
sh -c 'set -e; echo "TESTING: $3"; sed $1 < $3 > $2/$3; tape "$2/$3"' sedtape "$SEDCMD" "$tmpdir"
-mocha -R spec $tmpdir/test
+mocha -R spec $tmpdir/tests
diff --git a/debian/umd.1 b/debian/umd.1
index 2ca7056..01ed015 100644
--- a/debian/umd.1
+++ b/debian/umd.1
@@ -17,7 +17,7 @@ API like RequireJS, AMD or CommonJs.
This command provides simple synchronous wrapping of a string, return style module support, CommonJS support
and support preventing internal UMDs from conflicting.
.
-Requiered parameter name is used for exporting module.
+Required parameter name is used for exporting module.
.Sh OPTIONS
.Bl -tag -width -indent
.It Fl c, Fl Fl commonJS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-umd.git
More information about the Pkg-javascript-commits
mailing list