Sha256: eb25e4c6b5c889ad84950baa13e4235312dc2601c31c8c95bf4fb2e7ebfc69b7

Contents?: true

Size: 607 Bytes

Versions: 3

Compression:

Stored size: 607 Bytes

Contents

require 'bundler'
Bundler.require
Bundler::GemHelper.install_tasks


require 'rspec/core/rake_task'
require 'opal/rspec/rake_task'

RSpec::Core::RakeTask.new('ruby:rspec')
Opal::RSpec::RakeTask.new('opal:rspec')

task :test do
  Rake::Task['ruby:rspec'].invoke
  # Rake::Task['opal:rspec'].invoke
end

require 'generators/reactive_ruby/test_app/test_app_generator'
desc "Generates a dummy app for testing"
task :test_app do
  ReactiveRuby::TestAppGenerator.start
  puts "Setting up test app database..."
  system("bundle exec rake db:drop db:create db:migrate > #{File::NULL}")
end

task default: [ :test ]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reactive-ruby-0.7.28 Rakefile
reactive-ruby-0.7.27 Rakefile
reactive-ruby-0.7.26 Rakefile