Sha256: ab632df5dfd897a2b126ae398d3b80ef1c801d362b040079f5d61ec269de1f49

Contents?: true

Size: 994 Bytes

Versions: 9

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.6:1.9.1' is invoked
    Then rake task 'cross compile RUBY_CC_VERSION=1.8.6:1.9.1' 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

9 entries across 9 versions & 2 rubygems

Version Path
luislavena-rake-compiler-0.6.0 features/cross-compile.feature
rake-compiler-0.7.9 features/cross-compile.feature
rake-compiler-0.7.8 features/cross-compile.feature
rake-compiler-0.7.7 features/cross-compile.feature
rake-compiler-0.7.6 features/cross-compile.feature
rake-compiler-0.7.5 features/cross-compile.feature
rake-compiler-0.7.1 features/cross-compile.feature
rake-compiler-0.7.0 features/cross-compile.feature
rake-compiler-0.6.0 features/cross-compile.feature