Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8f9cae35ec13
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 79dc8009b485
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 22, 2014

  1. Typo

    elia committed Oct 22, 2014

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    63e0f1e View commit details
  2. Copy the full SHA
    79dc800 View commit details
Showing with 4 additions and 3 deletions.
  1. +4 −3 Rakefile
7 changes: 4 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -42,8 +42,9 @@ task :mspec_node do
specs += shared

requires = specs.map{|s| "require '#{s.sub(/^spec\//,'')}'"}

File.write 'tmp/mspec_node.rb', <<-RUBY
filename = 'tmp/mspec_node.rb'
mkdir_p File.dirname(filename)
File.write filename, <<-RUBY
require 'spec_helper'
#{requires.join(" \n")}
OSpecRunner.main.did_finish
@@ -52,7 +53,7 @@ task :mspec_node do
stubs = " -smspec/helpers/tmp -smspec/helpers/environment -smspec/guards/block_device -smspec/guards/endian"

exec 'RUBYOPT="-rbundler/setup -rmspec/opal/special_calls" '\
"bin/opal -Ispec -Ilib -gmspec #{stubs} -rnodejs -Dwarning -A tmp/mspec2.rb"
"bin/opal -Ispec -Ilib -gmspec #{stubs} -rnodejs -Dwarning -A #{filename}"
end

require 'opal/version'