Sha256: 4a9764a1b619468b3966bd45d12bf9ae458d4a877e7bbeedf474011ed514e936
Contents?: true
Size: 825 Bytes
Versions: 15
Compression:
Stored size: 825 Bytes
Contents
# encoding: UTF-8 require 'rubygems' require 'bundler/setup' require 'rspec/core/rake_task' require 'rubocop/rake_task' require 'bundler/gem_tasks' # Change to the directory of this file. Dir.chdir(File.expand_path('../', __FILE__)) desc 'Open a Pry console for this library' task :console do require 'pry' require 'winrm' ARGV.clear Pry.start end RSpec::Core::RakeTask.new(:spec) do |task| task.pattern = 'spec/*_spec.rb' task.rspec_opts = ['--color', '-f documentation'] task.rspec_opts << '-tunit' end # Run the integration test suite RSpec::Core::RakeTask.new(:integration) do |task| task.pattern = 'spec/*_spec.rb' task.rspec_opts = ['--color', '-f documentation'] task.rspec_opts << '-tintegration' end RuboCop::RakeTask.new task default: [:spec, :rubocop] task all: [:default, :integration]
Version data entries
15 entries across 15 versions & 3 rubygems