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