Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add -tx18 and -tx20 options to bin/mspec #2031

Merged
merged 3 commits into from

2 participants

@frodsan

No description provided.

Francesco Ro... added some commits
Francesco Rodriguez Add -tx18 option to bin/mspec
This allows to run the specs in 1.8 mode if you are
using 1.9 mode by default.
3ae6783
Francesco Rodriguez Add -tx20 option to bin/mspec
This allows to run the specs in 2.0 mode.
dd84f6c
Francesco Rodriguez Add -tx18, -tx19 and -tx20 options to the docs 5dcdb40
@jc00ke jc00ke merged commit 3f3b9d9 into rubinius:master

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 19, 2012
  1. Add -tx18 option to bin/mspec

    Francesco Rodriguez authored
    This allows to run the specs in 1.8 mode if you are
    using 1.9 mode by default.
  2. Add -tx20 option to bin/mspec

    Francesco Rodriguez authored
    This allows to run the specs in 2.0 mode.
  3. Add -tx18, -tx19 and -tx20 options to the docs

    Francesco Rodriguez authored
This page is out of date. Refresh to see the latest.
Showing with 15 additions and 8 deletions.
  1. +15 −8 mspec/lib/mspec/utils/options.rb
View
23 mspec/lib/mspec/utils/options.rb
@@ -215,8 +215,12 @@ def targets
config[:target] = 'ruby1.9'
when 'x', 'rubinius'
config[:target] = './bin/rbx'
+ when 'x18', 'rubinius18'
+ config[:target] = './bin/rbx -X18'
when 'x19', 'rubinius19'
config[:target] = './bin/rbx -X19'
+ when 'x20', 'rubinius20'
+ config[:target] = './bin/rbx -X20'
when 'X', 'rbx'
config[:target] = 'rbx'
when 'j', 'jruby'
@@ -231,14 +235,17 @@ def targets
end
doc ""
- doc " r or ruby invokes ruby in PATH"
- doc " r19, ruby19 invokes ruby1.9 in PATH"
- doc " x or rubinius invokes ./bin/rbx"
- doc " X or rbx invokes rbx in PATH"
- doc " j or jruby invokes jruby in PATH"
- doc " i or ironruby invokes ir in PATH"
- doc " m or maglev invokes maglev-ruby in PATH"
- doc " full path to EXE invokes EXE directly\n"
+ doc " r or ruby invokes ruby in PATH"
+ doc " r19, ruby19 invokes ruby1.9 in PATH"
+ doc " x or rubinius invokes ./bin/rbx"
+ doc " x18 or rubinius18 invokes ./bin/rbx -X18"
+ doc " x19 or rubinius19 invokes ./bin/rbx -X19"
+ doc " x20 or rubinius20 invokes ./bin/rbx -X20"
+ doc " X or rbx invokes rbx in PATH"
+ doc " j or jruby invokes jruby in PATH"
+ doc " i or ironruby invokes ir in PATH"
+ doc " m or maglev invokes maglev-ruby in PATH"
+ doc " full path to EXE invokes EXE directly\n"
on("-T", "--target-opt", "OPT",
"Pass OPT as a flag to the target implementation") do |t|
Something went wrong with that request. Please try again.