diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-10 06:27:23 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-10 06:27:23 +0000 |
commit | ab42c8f739c8bbe5c853a1b23e7e3bfbbd4ac5fe (patch) | |
tree | a8c2cd02cf68d4a7800b584fcb96d4a4c44cd55a /lib/rake/doc/rakefile.rdoc | |
parent | dd7a64d1000f39622e63fa11254879a1841decd2 (diff) | |
download | ruby-ab42c8f739c8bbe5c853a1b23e7e3bfbbd4ac5fe.tar.gz |
* doc/rake/*: Sync Rake rdoc files from upstream
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rake/doc/rakefile.rdoc')
-rw-r--r-- | lib/rake/doc/rakefile.rdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rake/doc/rakefile.rdoc b/lib/rake/doc/rakefile.rdoc index a00c9fd21e..01ecc92f63 100644 --- a/lib/rake/doc/rakefile.rdoc +++ b/lib/rake/doc/rakefile.rdoc @@ -193,7 +193,7 @@ example, if the "release" task expected a parameter named or - RELEASE_VERSION rake release + RELEASE_VERSION=0.8.2 rake release will work. Environment variable names must either match the task parameter exactly, or match an all-uppercase version of the task @@ -291,7 +291,7 @@ Running this example: The ability to programmatically manipulate tasks gives rake very powerful meta-programming capabilities w.r.t. task execution, but -should be used with cation. +should be used with caution. == Rules @@ -337,7 +337,7 @@ required on *rule* when the first argument is a regular expression. The following rule might be used for Java files ... - rule '.java' => [ + rule '.class' => [ proc { |tn| tn.sub(/\.class$/, '.java').sub(/^classes\//, 'src/') } ] do |t| java_compile(t.source, t.name) |