Rant is a flexible build tool written entirely in Ruby,
similar to Rake.
== What’s new in this release?
-
Gems created with Ruby 1.8.3 won’t work with other
Ruby versions (because of a YAML bug). This no longer
affects gems created with Rant’s RubyPackage task.
Documentation:
http://make.rubyforge.org/files/doc/rubyproject_rdoc.html -
Rework of Rant’s FileList class. You can use it as “normal”
Ruby library now. Below is an example.
Documentation:
http://make.rubyforge.org/files/doc/filelist_rdoc.html
For more details read http://make.rubyforge.org/files/NEWS.html
== Installing Rant
You can install Rant as a RubyGem:
% gem install --remote rant
or download the package from
RubyForge(http://rubyforge.org/frs/?group_id=615)
and install with install.rb:
% ruby install.rb
== Rant::FileList example
You can use Rant’s FileList class as library in your Ruby app/library.
Example usage:
# The next two statements are required if Rant was
# installed as a RubyGem.
#require "rubygems"
#require_gem "rant"
require "rant/filelist"
# Iterate over all files in the current directory and its
# subdirectories, skipping backup files (filenames ending
# in ~ or .bak).
Rant::FileList.glob_all "**/*" do |fl|
fl.exclude "*~", "*.bak"
fl.files.each { |filename|
# do something with the file "filename"
}
end
== Resources
Homepage:: http://make.ruby-co.de
Rubyforge page:: http://rubyforge.org/projects/make/
Mailing list:: http://rubyforge.org/mailman/listinfo/make-cafe
Repository:: http://developer.berlios.de/svn/?group_id=5046
Rake/Rant comparison::
http://make.rubyforge.org/files/doc/rant_vs_rake_rdoc.html
Naming suggestions, feature requests for further Rant development,
etc. are welcome!