[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] Rant 0.3.8

Stefan Lang

5/15/2005 12:43:00 AM

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

== What's new in this release?

* Dependency checking for C/C++ sources.
* Installing ".cmd" files on Windows with the Win32::RubyCmdWrapper.
* Convenient directory/file creation with SubFile.
* rant-import inlines specially marked, +require+ files.

I'd appreciate suggestions about new features, names, etc.

== Installing Rant

You can install Rant as a RubyGem:
    % gem install --remote rant

or download the package from RubyForge(http://rubyforge.org/frs/?gr...)
and install with install.rb:
    % ruby install.rb

== More about Rant

The equivalent to a Makefile for make is the Rantfile. An
Rantfile is actually a valid Ruby script that is read by the
rant command.

Rant currently features:
* Defining custom tasks
* Automated packaging, testing and RDoc generation for Ruby
  applications and libraries.
* Primitive support for compiling C# sources portably with csc, cscc
  and mcs.
* Dependency checking for C/C++ source files.
* Multiple buildfiles (e.g. one per directory).
* The rant-import command creates a monolithic rant script,
  so you don't depend on an rant installation anymore.
* A configure plugin for easy environment and build-parameter
  checking (but not like autoconf!) which saves data in a yaml file.

== Resources

Current docs:: http://make....
(BTW: Thanks to Jan Krueger for the nice URL :-)
Rubyforge page:: http://rubyforge.org/proj...

--
Stefan


11 Answers

ES

5/15/2005 2:23:00 AM

0

Stefan Lang wrote:
> Rant is a flexible build tool written entirely in Ruby,
> similar to Rake.

Thanks for the excellent tool! Rant has, at this point, completely
replaced Rake for my needs. Keep it up.

> == What's new in this release?
>
> * Dependency checking for C/C++ sources.
> * Installing ".cmd" files on Windows with the Win32::RubyCmdWrapper.
> * Convenient directory/file creation with SubFile.
> * rant-import inlines specially marked, +require+ files.
>
> I'd appreciate suggestions about new features, names, etc.

Is Rant up for discussion? It has absolutely no relation to *shudder*
Ant, after all. Maybe you could call it Wombat or something :)

> == Installing Rant
>
> You can install Rant as a RubyGem:
> % gem install --remote rant
>
> or download the package from RubyForge(http://rubyforge.org/frs/?gr...)
> and install with install.rb:
> % ruby install.rb
>
> == More about Rant
>
> The equivalent to a Makefile for make is the Rantfile. An
> Rantfile is actually a valid Ruby script that is read by the
> rant command.
>
> Rant currently features:
> * Defining custom tasks
> * Automated packaging, testing and RDoc generation for Ruby
> applications and libraries.
> * Primitive support for compiling C# sources portably with csc, cscc
> and mcs.
> * Dependency checking for C/C++ source files.
> * Multiple buildfiles (e.g. one per directory).
> * The rant-import command creates a monolithic rant script,
> so you don't depend on an rant installation anymore.
> * A configure plugin for easy environment and build-parameter
> checking (but not like autoconf!) which saves data in a yaml file.
>
> == Resources
>
> Current docs:: http://make....
> (BTW: Thanks to Jan Krueger for the nice URL :-)
> Rubyforge page:: http://rubyforge.org/proj...

E

--
template<typename duck>
void quack(duck& d) { d.quack(); }


Joao Pedrosa

5/15/2005 2:47:00 AM

0

Oi,

On 5/14/05, ES <ruby-ml@magical-cat.org> wrote:
> Stefan Lang wrote:
> > Rant is a flexible build tool written entirely in Ruby,
> > similar to Rake.
>
> Thanks for the excellent tool! Rant has, at this point, completely
> replaced Rake for my needs. Keep it up.

I've only experimented with Rant yet, but I like it.

> > == What's new in this release?
> >
> > * Dependency checking for C/C++ sources.
> > * Installing ".cmd" files on Windows with the Win32::RubyCmdWrapper.
> > * Convenient directory/file creation with SubFile.
> > * rant-import inlines specially marked, +require+ files.
> >
> > I'd appreciate suggestions about new features, names, etc.
>
> Is Rant up for discussion? It has absolutely no relation to *shudder*
> Ant, after all. Maybe you could call it Wombat or something :)

I second this one. It does sound weird to me. Rant is much closer to
perfection than Ant could ever be, as the creator of Ant himself
thinks that the XML of Ant wasn't meant to be a full blown scripting
language. Let me think about three naming options:
- Anter
- Antest
- Rmk - Ruby Make
- Rbmk
- Mir - Make in Ruby
- Mirb

Cheers,
Joao


ES

5/15/2005 3:52:00 AM

0

Joao Pedrosa wrote:
> Oi,
>
> On 5/14/05, ES <ruby-ml@magical-cat.org> wrote:
>
>>Stefan Lang wrote:
>>
>>>Rant is a flexible build tool written entirely in Ruby,
>>>similar to Rake.
>>
>>Thanks for the excellent tool! Rant has, at this point, completely
>>replaced Rake for my needs. Keep it up.
>
>
> I've only experimented with Rant yet, but I like it.
>
>
>>>== What's new in this release?
>>>
>>>* Dependency checking for C/C++ sources.
>>>* Installing ".cmd" files on Windows with the Win32::RubyCmdWrapper.
>>>* Convenient directory/file creation with SubFile.
>>>* rant-import inlines specially marked, +require+ files.
>>>
>>>I'd appreciate suggestions about new features, names, etc.
>>
>>Is Rant up for discussion? It has absolutely no relation to *shudder*
>>Ant, after all. Maybe you could call it Wombat or something :)
>
>
> I second this one. It does sound weird to me. Rant is much closer to
> perfection than Ant could ever be, as the creator of Ant himself
> thinks that the XML of Ant wasn't meant to be a full blown scripting
> language. Let me think about three naming options:
> - Anter
> - Antest
> - Rmk - Ruby Make
> - Rbmk
> - Mir - Make in Ruby
> - Mirb

Hehe, maybe Numbat[1]?

> Cheers,
> Joao

E

[1] http://australian-animals.net/...

--
template<typename duck>
void quack(duck& d) { d.quack(); }


Joao Pedrosa

5/15/2005 4:40:00 AM

0

Hi,

> > I second this one. It does sound weird to me. Rant is much closer to
> > perfection than Ant could ever be, as the creator of Ant himself
> > thinks that the XML of Ant wasn't meant to be a full blown scripting
> > language. Let me think about three naming options:
> > - Anter
> > - Antest
> > - Rmk - Ruby Make
> > - Rbmk
> > - Mir - Make in Ruby
> > - Mirb
>
> Hehe, maybe Numbat[1]?

Sounds great. Here is a south american one:

Giant Anteater: http://www.bbc.co.uk/nature/wildfacts/factfiles...

Cheers,
Joao


Stefan Lang

5/15/2005 10:41:00 AM

0

On Sunday 15 May 2005 04:23, ES wrote:
> Stefan Lang wrote:
> > Rant is a flexible build tool written entirely in Ruby,
> > similar to Rake.
>
> Thanks for the excellent tool! Rant has, at this point, completely
> replaced Rake for my needs. Keep it up.

Thanks for the feedback!

[...]
> > I'd appreciate suggestions about new features, names, etc.
>
> Is Rant up for discussion? It has absolutely no relation to *shudder*
> Ant, after all. Maybe you could call it Wombat or something :)

It would take some time to rename Rant, but if you can come up with
something really good, yes.
Didn't know about "wombats" before, interesting animals...

Stefan


Ara.T.Howard

5/15/2005 3:50:00 PM

0

gabriele renzi

5/15/2005 4:16:00 PM

0

Ara.T.Howard@noaa.gov ha scritto:

>
> this looks very cool. can you compare/contrast this with rake?
>

look here for a previous explanation
http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-t...

Ara.T.Howard

5/15/2005 4:29:00 PM

0

Jay Levitt

5/15/2005 4:50:00 PM

0

In article <200505151243.45771.langstefan@gmx.at>, langstefan@gmx.at
says...
> It would take some time to rename Rant, but if you can come up with
> something really good, yes.
> Didn't know about "wombats" before, interesting animals...

Wombat was one of the first computer games ever...
--
Jay Levitt |
Wellesley, MA | I feel calm. I feel ready. I can only
Faster: jay at jay dot fm | conclude that's because I don't have a
http://... | full grasp of the situation. - Mark Adler

Stefan Lang

5/15/2005 6:46:00 PM

0

On Sunday 15 May 2005 18:20, gabriele renzi wrote:
> Ara.T.Howard@noaa.gov ha scritto:
> > this looks very cool. can you compare/contrast this with rake?
>
> look here for a previous explanation
> http://www.ruby-talk.org/cgi-bin/scat.rb/ruby/ruby-t...

This was especially in the early days of Rant. It got a bunch
of new features since then. Amongst them:
* Useful for bigger projects: You can have more than one
buildfile for your project, e.g. one per directory
(no need for things like "recursive make").
* As already noted, Rant can determine dependencies between C/C++
source files.
* Automatic cleanup of generated files.

All (I hope!) features are documented, read http://make.....

Stefan