From 61a328a5952fbcca420461d3978b020e4b2878de Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 25 Aug 2010 12:29:39 -0700 Subject: Docs for rebuild. --- doc/rebuild.md | 21 +++++++++++++++++++++ man/rebuild.1 | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 doc/rebuild.md create mode 100644 man/rebuild.1 diff --git a/doc/rebuild.md b/doc/rebuild.md new file mode 100644 index 000000000..c017e7484 --- /dev/null +++ b/doc/rebuild.md @@ -0,0 +1,21 @@ +npm-rebuild(1) -- Rebuild a package +=================================== + +## SYNOPSIS + + npm rebuild [[@] [name[@] ...]] + +* ``: + The package to rebuild +* ``: + The version range to rebuild. Any matching installed packages are rebuilt. + +## DESCRIPTION + +This command runs the `npm build` command on the matched folders. This is useful +when you install a new version of node, and must recompile all your C++ addons with +the new binary. + +Regardless of the configuration settings, rebuild always sets `update-dependents` +and `auto-activate` to false, to minimize unexpected side effects. It does not +change any state outside of the package's folder. diff --git a/man/rebuild.1 b/man/rebuild.1 new file mode 100644 index 000000000..244a31d78 --- /dev/null +++ b/man/rebuild.1 @@ -0,0 +1,34 @@ +.\" Generated with Ronnjs/v0.1 +.\" http://github.com/kapouer/ronnjs/ +. +.TH "NPM\-REBUILD" "1" "August 2010" "" "" +. +.SH "NAME" +\fBnpm-rebuild\fR \-\- Rebuild a package +. +.SH "SYNOPSIS" +. +.nf +npm rebuild [[@] [name[@] \.\.\.]] +. +.fi +. +.IP "\(bu" 4 +\fB\fR: +The package to rebuild +. +.IP "\(bu" 4 +\fB\fR: +The version range to rebuild\. Any matching installed packages are rebuilt\. +. +.IP "" 0 +. +.SH "DESCRIPTION" +This command runs the \fBnpm build\fR command on the matched folders\. This is useful +when you install a new version of node, and must recompile all your C++ addons with +the new binary\. +. +.P +Regardless of the configuration settings, rebuild always sets \fBupdate\-dependents\fR +and \fBauto\-activate\fR to false, to minimize unexpected side effects\. It does not +change any state outside of the package\'s folder\. -- cgit v1.2.3