Sha256: b1ccd6231eab7ce03dfdd74e3c0078cb305e65f86c4f34831869872c9d8d98c1

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

require 'bundler'
Bundler.require

require 'opal/minitest/rake_task'
# Opal::Minitest::RakeTask.new

task :test do
  Opal::Config.arity_check_enabled = true
  files = Dir['test/**/*_test.rb'].map {|f| "-r #{f.chomp('.rb').sub(/^test\//, '')}"}
  sh "bundle exec ruby -r opal/minitest -S opal -Dwarning -Itest -Iopal #{files.join(' ')} -e puts"
end

task default: :test

require 'bundler/gem_tasks'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opal-activesupport-0.3.1 Rakefile