Sha256: d9e314450d68ec9de70f8cb95c1eb7e1c21b51d4b94036872da88ea5bdd7245b
Contents?: true
Size: 561 Bytes
Versions: 17
Compression:
Stored size: 561 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' RuboCop::RakeTask.new desc "Run specs" task :spec do RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = %w{--colour --format progress} t.pattern = 'spec/**/*_spec.rb' end end desc "Default: run specs." task(:default).clear.enhance [:spec, :rubocop] task :console do begin require 'pry' console = Pry rescue LoadError require 'irb' require 'irb/completion' console = IRB end require 'dentaku' ARGV.clear console.start end
Version data entries
17 entries across 17 versions & 2 rubygems