Path: | lib/rake.rb |
Last Update: | Wed Mar 01 15:08:07 UTC 2006 |
This is the main file for the Rake application. Normally it is referenced as a library via a require statement, but it can be distributed independently as an application.
RAKEVERSION | = | '0.6.2' | Rake — Ruby MakeThis is the main file for the Rake application. Normally it is referenced as a library via a require statement, but it can be distributed independently as an application. |
|
FileList | = | Rake::FileList | Alias FileList to be available at the top level. |
Declare a set of files tasks to create the given directories on demand.
Example:
directory "testdata/doc"
Declare a file task.
Example:
file "config.cfg" => ["config.template"] do open("config.cfg", "w") do |outfile| open("config.template") do |infile| while line = infile.gets outfile.puts line end end end end
Duplicate an object if it can be duplicated. If it can not be cloned or duplicated, then just return the original object.