Skip to content

Instantly share code, notes, and snippets.

@jazzido
Forked from luislavena/gist:29997
Created November 28, 2008 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jazzido/29998 to your computer and use it in GitHub Desktop.
Save jazzido/29998 to your computer and use it in GitHub Desktop.
Feature: Cross-compile C extensions
In order to avoid bitching from Windows users
As a Ruby developer on Linux
I want some rake tasks that take away the pain of compilation
Scenario: compile single extension
Given that all my source files are in place
And I'm running a POSIX operating system
And I've installed cross compile tools
When rake task 'cross compile' is invoked
Then rake task 'cross compile' succeeded
And binaries for platform 'i386-mingw32' get generated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment