Sha256: 373329d35570a8f1b3bc5f3495abd422b6c947208b5d1c80a18b9fe214bb0285
Contents?: true
Size: 664 Bytes
Versions: 8
Compression:
Stored size: 664 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rspec/core/rake_task' require 'rubocop/rake_task' # Change to the directory of this file. Dir.chdir(File.expand_path('../', __FILE__)) # For gem creation and bundling require 'bundler/gem_tasks' RSpec::Core::RakeTask.new(:spec) do |task| task.pattern = 'spec/unit/*_spec.rb' task.rspec_opts = ['--color', '-f documentation'] end # Run the integration test suite RSpec::Core::RakeTask.new(:integration) do |task| task.pattern = 'spec/integration/*_spec.rb' task.rspec_opts = ['--color', '-f documentation'] end RuboCop::RakeTask.new task default: %i[spec rubocop] task all: %i[default integration]
Version data entries
8 entries across 6 versions & 3 rubygems