Sha256: 8038cbf550da846882f5d1d1088c90ee4c52c8bfc1dca0a60024da46aaed24cf

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

require 'rake/testtask'
require 'rubocop/rake_task'

Rake::TestTask.new do |t|
  t.libs = %w( lib test )
  t.test_files = FileList['test/**/test_*.rb', 'test/**/*_spec.rb']
end

RuboCop::RakeTask.new do |task|
  task.options  = %w(--display-cop-names --format simple)
  task.patterns = ['lib/**/*.rb', 'test/**/*.rb']
end

task :default => [:test, :rubocop]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddplugin-1.0.1 Rakefile
ddplugin-1.0.0 Rakefile