Initial commit
This commit is contained in:
257
ruby/share/man/man1/rake.1
Normal file
257
ruby/share/man/man1/rake.1
Normal file
@@ -0,0 +1,257 @@
|
||||
.TH RAKE 1 "Ruby Programmers Reference Guide" "November 7, 2012" "UNIX"
|
||||
.SH NAME
|
||||
\fBrake\fP
|
||||
\- Ruby Make
|
||||
.SH SYNOPSIS
|
||||
.br
|
||||
\fBrake\fP
|
||||
[\fB\--f\fP \fIRakefile\fP]
|
||||
[\fB\--version\fP]
|
||||
[\fB\-CGNPgnqstv\fP]
|
||||
[\fB\-D\fP [\fIPATTERN\fP]]
|
||||
[\fB\-E\fP \fICODE\fP]
|
||||
[\fB\-I\fP \fILIBDIR\fP]
|
||||
[\fB\-R\fP \fIRAKELIBDIR\fP]
|
||||
[\fB\-T\fP [\fIPATTERN\fP]]
|
||||
[\fB\-e\fP \fICODE\fP]
|
||||
[\fB\-p\fP \fICODE\fP]
|
||||
[\fB\-r\fP \fIMODULE\fP]
|
||||
[\fB\--rules\fP]
|
||||
[\fIvariable\fP=\fIvalue\fP]
|
||||
\fItarget\fP ...
|
||||
.SH DESCRIPTION
|
||||
\fBRake\fP
|
||||
is a simple
|
||||
\fBruby\fP(1)
|
||||
build program with capabilities similar to the regular
|
||||
\fBmake\fP(1)
|
||||
command.
|
||||
|
||||
\fBRake\fP
|
||||
has the following features:
|
||||
.IP \(bu
|
||||
Rakefiles (Rake's version of Makefiles) are completely defined in standard Ruby syntax.
|
||||
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?).
|
||||
.IP \(bu
|
||||
Users can specify tasks with prerequisites.
|
||||
.IP \(bu
|
||||
Rake supports rule patterns to synthesize implicit tasks.
|
||||
.IP \(bu
|
||||
Flexible FileLists that act like arrays but know about manipulating file names and paths.
|
||||
.IP \(bu
|
||||
A library of prepackaged tasks to make building rakefiles easier.
|
||||
|
||||
.SH OPTIONS
|
||||
|
||||
.TP
|
||||
\fB\--version\fP
|
||||
Display the program version.
|
||||
|
||||
.TP
|
||||
\fB\-C\fP
|
||||
.TP
|
||||
\fB\--classic-namespace\fP
|
||||
Put Task and FileTask in the top level namespace
|
||||
|
||||
.TP
|
||||
\fB\-D\fP [\fIPATTERN\fP]
|
||||
.TP
|
||||
\fB\--describe\fP [\fIPATTERN\fP]
|
||||
Describe the tasks (matching optional
|
||||
\fIPATTERN\fP
|
||||
), then exit.
|
||||
|
||||
.TP
|
||||
\fB\-E\fP \fICODE\fP
|
||||
.TP
|
||||
\fB\--execute-continue\fP \fICODE\fP
|
||||
Execute some Ruby code, then continue with normal task processing.
|
||||
|
||||
.TP
|
||||
\fB\-G\fP
|
||||
.TP
|
||||
\fB\--no-system\fP
|
||||
.TP
|
||||
\fB\--nosystem\fP
|
||||
Use standard project Rakefile search paths, ignore system wide rakefiles.
|
||||
|
||||
.TP
|
||||
\fB\-I\fP \fILIBDIR\fP
|
||||
.TP
|
||||
\fB\--libdir\fP \fILIBDIR\fP
|
||||
Include
|
||||
\fILIBDIR\fP
|
||||
in the search path for required modules.
|
||||
|
||||
.TP
|
||||
\fB\-N\fP
|
||||
.TP
|
||||
\fB\--no-search\fP
|
||||
.TP
|
||||
\fB\--nosearch\fP
|
||||
Do not search parent directories for the Rakefile.
|
||||
|
||||
.TP
|
||||
\fB\-P\fP
|
||||
.TP
|
||||
\fB\--prereqs\fP
|
||||
Display the tasks and dependencies, then exit.
|
||||
|
||||
.TP
|
||||
\fB\-R\fP \fIRAKELIBDIR\fP
|
||||
.TP
|
||||
\fB\--rakelib\fP \fIRAKELIBDIR\fP
|
||||
.TP
|
||||
\fB\--rakelibdir\fP \fIRAKELIBDIR\fP
|
||||
Auto-import any .rake files in
|
||||
\fIRAKELIBDIR\fP.
|
||||
(default is
|
||||
\fIrakelib\fP
|
||||
)
|
||||
|
||||
.TP
|
||||
\fB\-T\fP [\fIPATTERN\fP]
|
||||
.TP
|
||||
\fB\--tasks\fP [\fIPATTERN\fP]
|
||||
Display the tasks (matching optional
|
||||
\fIPATTERN\fP
|
||||
) with descriptions, then exit.
|
||||
|
||||
.TP
|
||||
\fB\-e\fP \fICODE\fP
|
||||
.TP
|
||||
\fB\--execute\fP \fICODE\fP
|
||||
Execute some Ruby code and exit.
|
||||
|
||||
.TP
|
||||
\fB\-f\fP \fIFILE\fP
|
||||
.TP
|
||||
\fB\--rakefile\fP \fIFILE\fP
|
||||
Use FILE as the rakefile.
|
||||
|
||||
.TP
|
||||
\fB\-h\fP
|
||||
.TP
|
||||
\fB\--help\fP
|
||||
Prints a summary of options.
|
||||
|
||||
.TP
|
||||
\fB\-g\fP
|
||||
.TP
|
||||
\fB\--system\fP
|
||||
Using system wide (global) rakefiles (usually
|
||||
\fI~/.rake/*.rake\fP
|
||||
).
|
||||
|
||||
.TP
|
||||
\fB\-n\fP
|
||||
.TP
|
||||
\fB\--dry-run\fP
|
||||
Do a dry run without executing actions.
|
||||
|
||||
.TP
|
||||
\fB\-p\fP \fICODE\fP
|
||||
.TP
|
||||
\fB\--execute-print\fP \fICODE\fP
|
||||
Execute some Ruby code, print the result, then exit.
|
||||
|
||||
.TP
|
||||
\fB\-q\fP
|
||||
.TP
|
||||
\fB\--quiet\fP
|
||||
Do not log messages to standard output.
|
||||
|
||||
.TP
|
||||
\fB\-r\fP \fIMODULE\fP
|
||||
.TP
|
||||
\fB\--require\fP \fIMODULE\fP
|
||||
Require MODULE before executing rakefile.
|
||||
|
||||
.TP
|
||||
\fB\-s\fP
|
||||
.TP
|
||||
\fB\--silent\fP
|
||||
Like
|
||||
\fB\--quiet\fP,
|
||||
but also suppresses the 'in directory' announcement.
|
||||
|
||||
.TP
|
||||
\fB\-t\fP
|
||||
.TP
|
||||
\fB\--trace\fP
|
||||
Turn on invoke/execute tracing, enable full backtrace.
|
||||
|
||||
.TP
|
||||
\fB\-v\fP
|
||||
.TP
|
||||
\fB\--verbose\fP
|
||||
Log message to standard output (default).
|
||||
|
||||
.TP
|
||||
\fB\--rules\fP
|
||||
Trace the rules resolution.
|
||||
|
||||
|
||||
.SH ENVIRONMENT
|
||||
.TP
|
||||
.B RAKE_SYSTEM
|
||||
The directory path containing the system wide rakefiles.
|
||||
|
||||
.TP
|
||||
.B RAKE_COLUMNS
|
||||
Override the number of columns used for output, such as
|
||||
\fB\-Fl\fP tasks
|
||||
|
||||
.TP
|
||||
.B RAKEOPT
|
||||
Used to provide default command line arguments to Rake.
|
||||
|
||||
.TP
|
||||
.B TAGS
|
||||
Generate an Emacs TAGS file
|
||||
|
||||
.TP
|
||||
.B TEST
|
||||
The list of test files will be overridden to include only the filename specified on the command line.
|
||||
|
||||
This provides an easy way to run just one test.
|
||||
|
||||
.TP
|
||||
.B TESTOPTS
|
||||
.TP
|
||||
.B TESTOPT
|
||||
.TP
|
||||
.B TEST_OPTS
|
||||
.TP
|
||||
.B TEST_OPT
|
||||
The given options are passed to the test process after a
|
||||
\fB\-Fl\fP
|
||||
|
||||
This allows Test::Unit options to be passed to the test suite.
|
||||
|
||||
.TP
|
||||
.B USERPROFILE
|
||||
.TP
|
||||
.B HOME
|
||||
.TP
|
||||
.B HOMEDRIVE
|
||||
.TP
|
||||
.B HOMEPATH
|
||||
The standard directory containing system wide rake files on Win 32 systems.
|
||||
|
||||
.SH SEE ALSO
|
||||
\fBruby\fP(1)
|
||||
\fBmake\fP(1)
|
||||
|
||||
\fIhttp://rake.rubyforge.org/\fP
|
||||
.SH REPORTING BUGS
|
||||
Bugs, features requests and other issues can be logged at
|
||||
<\fIhttp://onestepback.org/redmine/projects/show/rake\fP.>
|
||||
|
||||
You will need an account to before you can post issues. Register at
|
||||
<\fIhttp://onestepback.org/redmine/account/register\fP.>
|
||||
Or you can send an email to the author.
|
||||
.SH AUTHOR
|
||||
\fBRake\fP
|
||||
is written by
|
||||
Jim Weirich <jim@weirichhouse.org>
|
||||
Reference in New Issue
Block a user