Ruby-based equivalent to SCons?

First of all, I’d like to point out that while the “What does this Ruby
code do?” CAPTCHA when signing up at ruby-forum.com is admittedly a very
clever idea, it’s a bit of a pain for Ruby novices like me. You have to
know Ruby in order to get help on Ruby? Anyway, I don’t mean to say that
just to complain, I just felt it worth pointing out.

My main question is actually pretty simple: Does anyone know if there is
a Ruby-based tool/library that’s comparable to SCons?

(For those who don’t know, SCons is a Python library (plus a helper
tool) that serves as a much cleaner/saner (at least IMO) alternative to
makefiles. But, although I’ve never actually written any Ruby code
before (yet), I’ve looked into the syntax and from what I’ve seen I like
it much better than Python.)

The standard is Rake.

On Mon, Feb 8, 2010 at 9:12 PM, Nick S. <

Rake and SCons aren’t exactly comparible. Rake is a tool for writing
common
tasks while SCons is better to be compared with autotools or cmake, a
C/C++
build tool.

For C extensions, there is rake-compiler that automates a bunch of stuff
for
you and works on all platforms. Other than that it’s either been
setup.rb or
doing it yourself.

Jason

Marnen Laibow-Koser wrote:

Jason R. wrote:

Rake and SCons aren’t exactly comparible. Rake is a tool for writing
common
tasks while SCons is better to be compared with autotools or cmake, a
C/C++
build tool.

Rake can be a build tool too. Some Java developers are using it instead
of Ant.

For C extensions, there is rake-compiler that automates a bunch of stuff
for
you and works on all platforms. Other than that it’s either been
setup.rb or
doing it yourself.

Thanks, all. Rake seems to be working fine for my current purpose
(automating the build process for a somewhat complex
HaxePHP/HaxeFlash/swfmill/misc-custom-tools project). As a bonus it’s
also giving me a good feel for Ruby.

Jason R. wrote:

Rake and SCons aren’t exactly comparible. Rake is a tool for writing
common
tasks while SCons is better to be compared with autotools or cmake, a
C/C++
build tool.

Rake can be a build tool too. Some Java developers are using it instead
of Ant.

For C extensions, there is rake-compiler that automates a bunch of stuff
for
you and works on all platforms. Other than that it’s either been
setup.rb or
doing it yourself.

Jason

Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs