2014-11-30 20:49:58 -05:00
. \" Hey, EMACS: -*- nroff -*-
. \" First parameter, NAME, should be all caps
. \" Second parameter, SECTION, should be 1-8, maybe w/ subsection
. \" other parameters are allowed: see man(7), man(1)
.TH RAKE 1 "August 27, 2014" "rake 10.3.2" "Rake User Commands"
. \" Please adjust this date whenever revising the manpage.
. \"
. \" Some roff macros, for reference:
. \" .nh disable hyphenation
. \" .hy enable hyphenation
. \" .ad l left justify
. \" .ad b justify to both left and right margins
. \" .nf disable filling
. \" .fi enable filling
. \" .br insert line break
. \" .sp <n> insert n+1 empty lines
. \" for manpage-specific macros, see man(7)
.SH NAME
2014-11-30 20:50:02 -05:00
rake \- a make-like build utility for Ruby
2014-11-30 20:49:58 -05:00
.SH SYNOPSIS
\fB rake\fR [\fI \- f rakefile\fR ] {\fI OPTIONS\fR } \fI TARGETS...\fR
.br
.SH DESCRIPTION
.B rake
is a make-like build utility for Ruby. Tasks and dependencies are specified in
standard Ruby syntax.
.SH OPTIONS
.TP
\fB \- m\fR , \fB \- \- multitask\fR
Treat all tasks as multitasks.
.TP
\fB \- B\fR , \fB \- \- build\- all\fR
Build all prerequisites, including those which are up\- to\- date.
.TP
\fB \- j\fR , \fB \- \- jobs\fR [\fI NUMBER\fR ]
Specifies the maximum number of tasks to execute in parallel (default is number of CPU cores + 4).
.SS Modules
.TP
\fB \- I\fR , \fB \- \- libdir\fR \fI LIBDIR\fR
Include \fI LIBDIR\fR in the search path for required modules.
.TP
\fB \- r\fR , \fB \- \- require\fR \fI MODULE\fR
Require \fI MODULE\fR before executing rakefile.
.SS Rakefile location
.TP
\fB \- f\fR , \fB \- \- rakefile\fR [\fI FILENAME\fR ]
Use \fI FILENAME\fR as the rakefile to search for.
.TP
\fB \- N\fR , \fB \- \- no\- search\fR , \fB \- \- nosearch\fR
2008-11-30 07:42:01 -05:00
Do not search parent directories for the Rakefile.
2014-11-30 20:49:58 -05:00
.TP
\fB \- G\fR , \fB \- \- no\- system\fR , \fB \- \- nosystem\fR
Use standard project Rakefile search paths, ignore system wide rakefiles.
.TP
\fB \- R\fR , \fB \- \- rakelibdir\fR \fI RAKELIBDIR\fR
Auto\- import any .rake files in \fI RAKELIBDIR\fR (default is 'rakelib')
.HP
\fB \- \- rakelib\fR
.TP
\fB \- g\fR , \fB \- \- system\fR
Using system wide (global) rakefiles (usually '\fI ~/.rake/*.rake\fR ').
.SS Debugging
.TP
\fB \- \- backtrace\fR =\fI \,[OUT] \/ \fR
Enable full backtrace. \fI OUT\fR can be stderr (default) or stdout.
.TP
\fB \- t\fR , \fB \- \- trace\fR =\fI \,[OUT] \/ \fR
Turn on invoke/execute tracing, enable full backtrace. \fI OUT\fR can be stderr (default) or stdout.
.TP
\fB \- \- suppress\- backtrace\fR \fI PATTERN\fR
Suppress backtrace lines matching regexp \fI PATTERN\fR . Ignored if \fI \- \- trace\fR is on.
.TP
\fB \- \- rules\fR
Trace the rules resolution.
.TP
\fB \- n\fR , \fB \- \- dry\- run\fR
Do a dry run without executing actions.
.TP
\fB \- T\fR , \fB \- \- tasks\fR [\fI PATTERN\fR ]
Display the tasks (matching optional \fI PATTERN\fR ) with descriptions, then exit.
.TP
\fB \- D\fR , \fB \- \- describe\fR [\fI PATTERN\fR ]
Describe the tasks (matching optional \fI PATTERN\fR ), then exit.
.TP
\fB \- W\fR , \fB \- \- where\fR [\fI PATTERN\fR ]
Describe the tasks (matching optional \fI PATTERN\fR ), then exit.
.TP
\fB \- P\fR , \fB \- \- prereqs\fR
2008-11-30 07:42:01 -05:00
Display the tasks and dependencies, then exit.
2014-11-30 20:49:58 -05:00
.TP
\fB \- e\fR , \fB \- \- execute\fR \fI CODE\fR
2008-11-30 07:42:01 -05:00
Execute some Ruby code and exit.
2014-11-30 20:49:58 -05:00
.TP
\fB \- p\fR , \fB \- \- execute\- print\fR \fI CODE\fR
2008-11-30 07:42:01 -05:00
Execute some Ruby code, print the result, then exit.
2014-11-30 20:49:58 -05:00
.TP
\fB \- E\fR , \fB \- \- execute\- continue\fR \fI CODE\fR
Execute some Ruby code, then continue with normal task processing.
.SS Information
.TP
\fB \- v\fR , \fB \- \- verbose\fR
Log message to standard output.
.TP
\fB \- q\fR , \fB \- \- quiet\fR
2008-11-30 07:42:01 -05:00
Do not log messages to standard output.
2014-11-30 20:49:58 -05:00
.TP
\fB \- s\fR , \fB \- \- silent\fR
Like \fB \- \- quiet\fR , but also suppresses the 'in directory' announcement.
.TP
\fB \- X\fR , \fB \- \- no\- deprecation\- warnings\fR
Disable the deprecation warnings.
.TP
\fB \- \- comments\fR
Show commented tasks only
.TP
\fB \- A\fR , \fB \- \- all\fR
Show all tasks, even uncommented ones (in combination with \fB \- T\fR or \fB \- D\fR )
.TP
\fB \- \- job\- stats\fR [\fI LEVEL\fR ]
Display job statistics. \fI LEVEL=history\fR displays a complete job list
.TP
\fB \- V\fR , \fB \- \- version\fR
Display the program version.
.TP
\fB \- h\fR , \fB \- H\fR , \fB \- \- help\fR
Display a help message.
2013-03-07 22:01:47 -05:00
2014-11-30 20:49:58 -05:00
.SH SEE ALSO
The complete documentation for \fB rake\fR has been installed at \fI /usr/share/doc/rake-doc/html/index.html\fR . It is also available online at \fI http://docs.seattlerb.org/rake\fR .
.SH AUTHOR
.B rake
2014-11-30 20:50:02 -05:00
was written by Jim Weirich <jim@weirichhouse.org>
2014-11-30 20:49:58 -05:00
.PP
This manual was created by Caitlin Matos <caitlin.matos@zoho.com> for the Debian project (but may be used by others). It was inspired by the manual by Jani Monoses <jani@iv.ro> for the Ubuntu project.