diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2015-09-04 14:47:14 -0700 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-09-06 21:38:09 +1000 |
commit | d15ba80d6f7a473a70081768500260429ecb6218 (patch) | |
tree | d83559d4277c56eab5fffb986dd1e4ec8db94a4b /deps/npm/scripts | |
parent | b4f1711a629251f6aab7615907fe7358881e0648 (diff) | |
download | android-node-v8-d15ba80d6f7a473a70081768500260429ecb6218.tar.gz android-node-v8-d15ba80d6f7a473a70081768500260429ecb6218.tar.bz2 android-node-v8-d15ba80d6f7a473a70081768500260429ecb6218.zip |
deps: upgrade to npm 2.14.2
PR-URL: https://github.com/nodejs/node/pull/2696
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'deps/npm/scripts')
-rwxr-xr-x | deps/npm/scripts/doc-build.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/deps/npm/scripts/doc-build.sh b/deps/npm/scripts/doc-build.sh index 6a5c7aa70f..61819028be 100755 --- a/deps/npm/scripts/doc-build.sh +++ b/deps/npm/scripts/doc-build.sh @@ -103,22 +103,15 @@ case $dest in | man_replace_tokens > $dest exit $? ;; - - html/partial/*.html) - url=${dest/html\/partial\//} - cat $src | ./node_modules/.bin/marked | html_replace_tokens $url > $dest - ;; - - html/*.html) + *.html) url=${dest/html\//} (cat html/dochead.html && \ - cat $src && \ + cat $src | ./node_modules/.bin/marked && cat html/docfoot.html)\ | html_replace_tokens $url \ > $dest exit $? ;; - *) echo "Invalid destination type: $dest" >&2 exit 1 |