Sha256: cf15a87391b38fbe2b9617770f15c0f1a4d99ff4bd2d3a3f2df76fe62bc3408e

Contents?: true

Size: 994 Bytes

Versions: 3

Compression:

Stored size: 994 Bytes

Contents

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 toolchain
    When rake task 'cross compile' is invoked
    Then rake task 'cross compile' succeeded
    And binaries for platform 'i386-mingw32' get generated

  Scenario: compile single extension to multiple versions
    Given that all my source files are in place
    And I'm running a POSIX operating system
    And I've installed cross compile toolchain
    When rake task 'cross compile RUBY_CC_VERSION=1.8.7:1.9.2' is invoked
    Then rake task 'cross compile RUBY_CC_VERSION=1.8.7:1.9.2' succeeded
    And binaries for platform 'i386-mingw32' version '1.8' get copied
    And binaries for platform 'i386-mingw32' version '1.9' get copied

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rake-compiler-sgonyea-0.8.1 features/cross-compile.feature
rake-compiler-0.8.1 features/cross-compile.feature
rake-compiler-0.8.0 features/cross-compile.feature