File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,19 @@ Options are:
153153[<tt>--no-deprecation-warnings</tt> (-X)]
154154 Do not display the deprecation warnings.
155155
156+ == Environment Variables
157+
158+ [<tt>RAKEOPT</tt>]
159+ Command line options can be specified in the <tt>RAKEOPT</tt>
160+ environment variable. These options will be processed as if they
161+ were given on the command line. This is useful for setting default
162+ options that you want to use with every rake invocation.
163+
164+ For example, setting:
165+ export RAKEOPT="-s --trace"
166+
167+ would cause rake to run silently with tracing enabled by default.
168+
156169In addition, any command line option of the form
157170<em>VAR</em>=<em>VALUE</em> will be added to the environment hash
158171<tt>ENV</tt> and may be tested in the Rakefile.
You can’t perform that action at this time.
0 commit comments