Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/command_line_usage.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Options are:
Require _name_ before executing the Rakefile.

[<tt>--rules</tt>]
Trace the rules resolution.
Trace the resolution of rules used to create tasks.

[<tt>--silent (-s)</tt>]
Like --quiet, but also suppresses the 'in directory' announcement.
Expand Down
13 changes: 13 additions & 0 deletions doc/rakefile.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,19 @@ The following rule might be used for Java files ...
*NOTE:* +java_compile+ is a hypothetical method that invokes the
java compiler.

=== Implicit File Tasks

When a task is not defined but a file with that name exists, Rake
automatically creates an implicit file task for it. For example:

$ rake hello_world # Error: task not found
$ touch hello_world # Create a file with the same name
$ rake hello_world # Now succeeds automatically

Use the <tt>--rules</tt> command line option to trace how rules are
resolved when searching for tasks; note that creation of implicit file
tasks is not traced.

== Importing Dependencies

Any ruby file (including other rakefiles) can be included with a
Expand Down