Sha256: f63d126e5ab6cca2c213d405d34f7c1239205f1c56ac78bdb8acb56cc856365b

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'inch/rake'

RSpec::Core::RakeTask.new(:spec)

RuboCop::RakeTask.new do |task|
  task.options << 'lib' << 'exe'
end

Inch::Rake::Suggest.new do |suggest|
  suggest.args << '--pedantic'
end

# reek is not compatible with Ruby < 2.0]
if RUBY_VERSION > '2.0'
  require 'reek/rake/task'
  Reek::Rake::Task.new do |t|
    t.fail_on_error = false
    t.verbose       = true
    t.reek_opts     = '-U'
  end
else
  task :reek do
    # Empty task
  end
end

task default: [:rubocop, :inch, :reek, :spec, :build]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
update_repo-0.5.0 Rakefile