Sha256: 74d709b137b99561924ca149b002f4f226973464e5d4f6b4b2800100dce7321f
Contents?: true
Size: 822 Bytes
Versions: 11
Compression:
Stored size: 822 Bytes
Contents
#!/usr/bin/env rake Dir.glob('tasks/*.rake').each { |r| import r } # Install tasks to build and release the plugin require 'bundler/setup' Bundler::GemHelper.install_tasks # Install test tasks require 'rspec/core/rake_task' namespace :test do desc 'Run RSpec tests' RSpec::Core::RakeTask.new do |task| task.name = 'spec' task.pattern = './spec/*/unit/*_spec.rb' end namespace :remote do desc 'Run RSpec remote tests' RSpec::Core::RakeTask.new do |task| task.name = 'spec' task.pattern = './spec/*/remote/*_spec.rb' end end namespace :mysql do desc 'Run RSpec MySql related tests' RSpec::Core::RakeTask.new do |task| task.name = 'spec' task.pattern = './spec/*/unit_mysql/*_spec.rb' end end end # Run tests by default task :default => 'test:spec'
Version data entries
11 entries across 11 versions & 1 rubygems