Sha256: 196afb5bf672c9d761ab7d1c0ff942a3269d3f9f0fe180b8126a873084eded5e

Contents?: true

Size: 685 Bytes

Versions: 21

Compression:

Stored size: 685 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') do |s|
  s.append_path 'spec/vendor'
  s.index_path = 'spec/index.html.erb'
end

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

21 entries across 21 versions & 2 rubygems

Version Path
reactrb-0.8.8 Rakefile
reactrb-0.8.7 Rakefile
reactrb-0.8.6 Rakefile
reactrb-0.8.5 Rakefile
reactrb-0.8.4 Rakefile
reactrb-0.8.3 Rakefile
reactrb-0.8.1 Rakefile
reactrb-0.8.0 Rakefile
reactrb-0.7.42 Rakefile
reactive-ruby-0.7.41 Rakefile
reactive-ruby-0.7.40 Rakefile
reactive-ruby-0.7.39 Rakefile
reactive-ruby-0.7.38 Rakefile
reactive-ruby-0.7.36 Rakefile
reactive-ruby-0.7.35 Rakefile
reactive-ruby-0.7.34 Rakefile
reactive-ruby-0.7.33 Rakefile
reactive-ruby-0.7.32 Rakefile
reactive-ruby-0.7.31 Rakefile
reactive-ruby-0.7.30 Rakefile