Skip to content

Commit

Permalink
spec/opal/{corelib → core}
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Nov 18, 2013
1 parent 284cd8b commit 8761188
Show file tree
Hide file tree
Showing 192 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -12,7 +12,7 @@ end
require 'mspec/opal/rake_task'
MSpec::Opal::RakeTask.new(:mspec) do |t|
t.basedir = 'spec/opal'
t.pattern = 'spec/opal/{parser,corelib,compiler,stdlib}/**/*_spec.rb'
t.pattern = 'spec/opal/{parser,core,compiler,stdlib}/**/*_spec.rb'
end

task :default => [:rspec, :mspec]
Expand Down
14 changes: 14 additions & 0 deletions bin/opal-build
@@ -0,0 +1,14 @@
#!/usr/bin/env ruby

require 'opal'

if ARGV.first == '--gem'
gem_name = ARGV[1]

require 'rubygems'
Opal.use_gem gem_name
end

require_file = ARGV[1..-1].last || gem_name.dup.untaint.gsub('-','/')
puts Opal::Builder.build require_file

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.