Sha256: 7dd4a2c417cde58f83eaead9b1f369d558aff4112601e740aa9aad85f84885e3
Contents?: true
Size: 755 Bytes
Versions: 5
Compression:
Stored size: 755 Bytes
Contents
require "bundler/gem_tasks" require 'bundler' Bundler.require Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' require 'opal/rspec/rake_task' RSpec::Core::RakeTask.new('ruby:rspec') do |s| s.rspec_opts = "--tag ruby" end 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
hyper-router-4.1.1 | Rakefile |
hyper-router-4.0.1 | Rakefile |
hyper-router-4.0.0 | Rakefile |
hyper-router-2.4.1 | Rakefile |
hyper-router-2.4.0 | Rakefile |