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
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