Sha256: 76f1507c062aacaa1a5670b81c327c0d03717495d9f5570925e2ad52a73dce2c

Contents?: true

Size: 1.05 KB

Versions: 43

Compression:

Stored size: 1.05 KB

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.3:2.0.0' is invoked
    Then rake task 'cross compile RUBY_CC_VERSION=1.8.7:1.9.3:2.0.0' succeeded
    And binaries for platform 'i386-mingw32' version '1.8' get copied
    And binaries for platform 'i386-mingw32' version '1.9' get copied
    And binaries for platform 'i386-mingw32' version '2.0' get copied

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
rake-compiler-1.2.9 features/cross-compile.feature
rake-compiler-1.2.8 features/cross-compile.feature
rake-compiler-1.2.7 features/cross-compile.feature
rake-compiler-1.2.6 features/cross-compile.feature
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rake-compiler-1.2.5/features/cross-compile.feature
rake-compiler-1.2.5 features/cross-compile.feature
rake-compiler-1.2.4 features/cross-compile.feature
rake-compiler-1.2.3 features/cross-compile.feature
rake-compiler-1.2.2 features/cross-compile.feature
rake-compiler-1.2.1 features/cross-compile.feature
rake-compiler-1.2.0 features/cross-compile.feature
rake-compiler-1.1.9 features/cross-compile.feature
rake-compiler-1.1.8 features/cross-compile.feature
rake-compiler-1.1.7 features/cross-compile.feature
rake-compiler-1.1.6 features/cross-compile.feature
rake-compiler-1.1.5 features/cross-compile.feature
rake-compiler-1.1.4 features/cross-compile.feature
rake-compiler-1.1.3 features/cross-compile.feature
rake-compiler-1.1.2 features/cross-compile.feature
rake-compiler-1.1.1 features/cross-compile.feature