Sha256: 6cfa8c719410c610dc45e9b6bb36eb3126d0ed41a9f5aa8ba4a4fdcfd9c5708f
Contents?: true
Size: 849 Bytes
Versions: 13
Compression:
Stored size: 849 Bytes
Contents
#!/usr/bin/env rake # frozen_string_literal: true 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
13 entries across 13 versions & 1 rubygems