Rant 0.5.2

S

Stefan Lang

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

=3D=3D 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

=46or more details read http://make.rubyforge.org/files/NEWS.html

=3D=3D Installing Rant

You can install Rant as a RubyGem:

=A0 =A0 % gem install --remote rant

or download the package from=20
RubyForge(http://rubyforge.org/frs/?group_id=3D615)
and install with install.rb:

=A0 =A0 % ruby install.rb

=3D=3D 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"

=A0 =A0 require "rant/filelist"

=A0 =A0 # Iterate over all files in the current directory and its
=A0 =A0 # subdirectories, skipping backup files (filenames ending
=A0 =A0 # in ~ or .bak).
=A0 =A0=20
=A0 =A0 Rant::FileList.glob_all "**/*" do |fl|
=A0 =A0 =A0 =A0 fl.exclude "*~", "*.bak"
=A0 =A0 =A0 =A0 fl.files.each { |filename|
=A0 =A0 =A0 =A0 =A0 =A0 # do something with the file "filename"
=A0 =A0 =A0 =A0 }
=A0 =A0 end

=3D=3D 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=3D5046
Rake/Rant comparison::
=A0 http://make.rubyforge.org/files/doc/rant_vs_rake_rdoc.html

Naming suggestions, feature requests for further Rant development,
etc. are welcome!

=2D-=20
Stefan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] Rant 0.5.0 0
[ANN] Rant 0.5.4 6
[ANN] Rant 0.4.8 5
[ANN] Rant 0.4.6 2
[ANN] Rant 0.4.2 2
[ANN] Rant 0.4.4 1
[ANN] Rant 0.3.8 10
[ANN] eventmachine 0.12.6 1

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top