[ANN] rake-compiler 0.5.0 Released

L

Luis Lavena

rake-compiler version 0.5.0 has been released!

* <http://github.com/luislavena/rake-compiler>
* <http://rubyforge.org/projects/rake-compiler>

=3D rake-compiler

rake-compiler aims to help Gem developers while dealing with Ruby C
extensions, simplifiying the code and reducing the duplication.

It follows *convention over configuration* and set an standarized
structure to build and package C extensions in your gems.

This is the result of expriences dealing with several Gems that required
native extensions across platforms and different user configurations
where details like portability and clarity of code were lacking.

=3D=3D An Overview

Let's summarize what rake-compiler provides:

* No custom rake tasks required. Less code duplication and errors.

* Painlessly build extensions on different platforms (Linux, OSX and Window=
s).

* Allow multiple extensions be compiled inside the same gem.

* Mimics RubyGems installation process, so helps as test environment.

* Simplify cross platform compilation of extensions (target Windows from Li=
nux).

Changes:

=3D=3D=3D 0.5.0 / 2009-04-25

* Enhancements
* Allow generation of multiple gems for Windows (EXPERIMENTAL)
This allows build gems for both VC6 and MinGW builts of Ruby
(Thanks to Jonathan Stott for the suggestion)

Rake::ExtensionTask.new('my_extension', GEM_SPEC) do |ext|
ext.cross_compile =3D true
ext.cross_platform =3D ['i386-mswin32', 'i386-mingw32']
end

--=20
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exup=E9ry
 

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,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top