# Rant 0.5.0

**URL:** <https://www.ruby-forum.com/t/rant-0-5-0/99872>\
**Category:** Ruby\
**Created:** [November 22, 2005, 11:32pm UTC](https://www.ruby-forum.com/t/rant-0-5-0/99872 "2005-11-22T23:32:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![langstefan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/eb9ed0/32.png) [@langstefan](https://www.ruby-forum.com/u/langstefan)\
**Post date:** [November 22, 2005, 11:32pm UTC](https://www.ruby-forum.com/t/rant-0-5-0/99872/1 "2005-11-22T23:32:56Z")

</div>

Rant is a flexible build tool written entirely in Ruby,  
similar to Rake.

== What’s new in this release?

- The --dry-run (-n) option for rant.
- Action takes a regular expression now. When rant looks for a  
Â task/file that matches the regular expression, the action block will  
Â get executed once.

For more details read [http://make.rubyforge.org/files/NEWS.html](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](http://rubyforge.org/frs/?group_id=615))  
and install with install.rb:

Â Â % ruby install.rb

== Dry-Run demonstration

Example Rantfile:

Â import “command”

Â task :install =\> “foo” do  
Â Â Â sys.install “foo”, “/usr/local/bin”, :mode =\> 0755  
Â end

Â gen Command, “foo”, “foo.c”, “cc -o $(\>) $(\<)”

Running Rant in dry-run mode:

Â % rant -n  
Â Executing “foo”  
Â Â - SHELL  
Â Â Â cc -o foo foo.c  
Â Executing “install”  
Â Â - Ruby Proc at Rantfile:3

== Survey about “Rantfile.rb”

Since the previous release (0.4.8), Rant doesn’t recognize  
the filenames “Rantfile.rb” and “rantfile.rb” as default  
Rantfiles anymore. If you want them back, tell me now! If a  
reasonable number of users wants to use “Rantfile.rb”/“rantfile.rb”,  
I will reintroduce those filenames (or one of them).  
Alternatives are “Rantfile”, “rantfile” or “root.rant”.

Please reply to my private address or join the Rant mailing list.

== Resources

Homepage:: [http://make.ruby-co.de](http://make.ruby-co.de)  
Rubyforge page:: [http://rubyforge.org/projects/make/](http://rubyforge.org/projects/make/)  
Mailing list:: [http://rubyforge.org/mailman/listinfo/make-cafe](http://rubyforge.org/mailman/listinfo/make-cafe)  
Repository:: [http://developer.berlios.de/svn/?group\_id=5046](http://developer.berlios.de/svn/?group_id=5046)  
Rake/Rant comparison::  
[http://make.rubyforge.org/files/doc/rant\_vs\_rake\_rdoc.html](http://make.rubyforge.org/files/doc/rant_vs_rake_rdoc.html)
