Sha256: 3a2427ee883b34816f3a9a44474ac99dd0815e285c439a20e1f7d6d85fa85b3c
Contents?: true
Size: 758 Bytes
Versions: 1
Compression:
Stored size: 758 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'inch/rake' RSpec::Core::RakeTask.new(:spec) # rubocop is not compatible with Ruby < 2.0 if RUBY_VERSION >= '2.0' require 'rubocop/rake_task' RuboCop::RakeTask.new do |task| task.options << 'lib' << 'exe' task.fail_on_error = false end else task :rubocop do # Empty task end end Inch::Rake::Suggest.new do |suggest| suggest.args << '--pedantic' end # reek is not compatible with Ruby < 2.1 if RUBY_VERSION >= '2.1' 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, :reek, :spec, :inch, :build]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
update_repo-0.8.7 | Rakefile |