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.)
on 08.02.2010 22:12
on 08.02.2010 22:47
The standard is Rake. On Mon, Feb 8, 2010 at 9:12 PM, Nick Sabalausky <
on 09.02.2010 01:14
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
on 09.02.2010 01:48
Jason Roelofs 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 marnen@marnen.org
on 09.02.2010 10:26
Marnen Laibow-Koser wrote: > Jason Roelofs 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.