Sha256: b00d18135d0675a0e2e381261d63cbbd930cf648cef33240daa7dc3f7152f1a4

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

require 'bundler'
Bundler.require
require 'opal-sprockets'

Dir.chdir File.expand_path('../../', __FILE__) # go to opal gem root
ENV['OPAL_SPEC'] = [File.dirname(__FILE__)].join(',')

run Opal::Server.new { |s|
  Opal::Processor.arity_check_enabled = true

  s.append_path 'spec'
  s.append_path File.join(Gem::Specification.find_by_name('mspec').gem_dir, 'lib')

  s.debug = false
  s.main = 'ospec/main'
  s.index_path = 'spec/index.html'
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
opal-0.5.4 spec/config.ru
opal-0.5.2 spec/config.ru
opal-0.5.0 spec/config.ru