PageRenderTime 74ms CodeModel.GetById 55ms app.highlight 1ms RepoModel.GetById 8ms app.codeStats 0ms

Unknown | 78 lines | 56 code | 22 blank | 0 comment | 0 complexity | 88ff1f9ad6f365d60dad8b8fe04ba00c MD5 | raw file
 1= Rake 0.5.0 Released
 3Although it has only been two weeks since the last release, we have
 4enough updates to the Rake program to make it time for another
 7== Changes
 9Here are the changes for version 0.5.3 ...
11* FileLists have been extensively changed so that they mimic the
12  behavior of real arrays even more closely.  In particular,
13  operations on FileLists that return a new collection (e.g. collect,
14  reject) will now return a FileList rather than an array.  In
15  addition, several places where FileLists were not properly expanded
16  before use have been fixed.
18* A method (+ext+) to simplify the handling of file extensions was
19  added to String and to Array.
21* The 'testrb' script in test/unit tends to silently swallow syntax
22  errors in test suites.  Because of that, the default test loader is
23  now a rake-provided script.  You can still use 'testrb' by setting
24  the loader flag in the test task to :testrb.  (See the API documents
25  for TestTask for all the loader flag values).
27* FileUtil methods (e.g. cp, mv, install) are now declared to be
28  private.  This will cut down on the interference with user defined
29  methods of the same name.
31* Fixed the verbose flag in the TestTask so that the test code is
32  controlled by the flag.  Also shortened up some failure messages.
33  (Thanks to Tobias Luetke for the suggestion).
35* Rules will now properly detect a task that can generate a source
36  file.  Previously rules would only consider source files that were
37  already present.
39* Added an +import+ command that allows Rake to dynamically import
40  dependendencies into a running Rake session.  The +import+ command
41  can run tasks to update the dependency file before loading them.
42  Dependency files can be in rake or make format, allowing rake to
43  work with tools designed to generate dependencies for make.
45== What is Rake
47Rake is a build tool similar to the make program in many ways.  But
48instead of cryptic make recipes, Rake uses standard Ruby code to
49declare tasks and dependencies.  You have the full power of a modern
50scripting language built right into your build tool.
52== Availability
54The easiest way to get and install rake is via RubyGems ...
56  gem install rake    (you may need root/admin privileges)
58Otherwise, you can get it from the more traditional places:
60Home Page::
63== Thanks
65As usual, it was input from users that drove a alot of these changes.
66Thanks to ...
68* Brian Gernhardt for the rules fix (especially for the patience to
69  explain the problem to me until I got what he was talking about).
70* Stefan Lang for pointing out problems in the dark corners of the
71  FileList implementation.
72* Alexey Verkhovsky pointing out the silently swallows syntax errors
73  in tests.
74* Tobias Luetke for beautifying the test task output.
75* Sam Roberts for some of the ideas behind dependency loading.
77-- Jim Weirich