Sha256: c61ce0a416d1d455aad2e3c13f5ab233c16b1fc1c259d4c1cc6a81d4d764368c

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

require 'bundler'
Bundler.require

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

task :test do
  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.0 Rakefile