Ruby-based equivalent to SCons?

  • Thread starter Nick Sabalausky
  • Start date
N

Nick Sabalausky

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.)
 
S

Steve Klabnik

[Note: parts of this message were removed to make it a legal post.]

The standard is Rake.

On Mon, Feb 8, 2010 at 9:12 PM, Nick Sabalausky <
 
J

Jason Roelofs

[Note: parts of this message were removed to make it a legal post.]

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

The standard is Rake.

On Mon, Feb 8, 2010 at 9:12 PM, Nick Sabalausky <
 
M

Marnen Laibow-Koser

Jason said:
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
(e-mail address removed)
 
N

Nick Sabalausky

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

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.
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top