Sha256: 4a027cf15b1cc0228d056ab06d74e924aa5d57290866f85091667f3cda7efbda
Contents?: true
Size: 1.34 KB
Versions: 4
Compression:
Stored size: 1.34 KB
Contents
require "bundler/setup" <% if configuration.build_bundler_leak %> require "bundler/plumber/task" <% end %> <% if configuration.build_git && configuration.build_git_lint %> require "git/lint/rake/setup" <% end %> <% if configuration.build_reek %> require "reek/rake/task" <% end %> <% if configuration.build_rspec %> require "rspec/core/rake_task" <% end %> <% if configuration.build_rubocop %> require "rubocop/rake_task" <% end %> <% if configuration.build_yard %> require "yard" <% end %> <% if configuration.build_bundler_leak %> Bundler::Plumber::Task.new <% end %> <% if configuration.build_reek %> Reek::Rake::Task.new <% end %> <% if configuration.build_rspec %> RSpec::Core::RakeTask.new :spec <% end %> <% if configuration.build_rubocop %> RuboCop::RakeTask.new <% end %> <% if configuration.build_yard %> YARD::Rake::YardocTask.new do |task| task.options = ["--title", "<%= configuration.project_label %>", "--output-dir", "doc/yard"] end <% end %> desc "Run code quality checks" task code_quality: %i[<% if configuration.build_bundler_leak %>bundle:leak<% end %> <% if configuration.build_git && configuration.build_git_lint %>git_lint<% end %> <% if configuration.build_reek %>reek<% end %> <% if configuration.build_rubocop %>rubocop<% end %>] task default: %i[code_quality <% if configuration.build_rspec %>spec<% end %>]
Version data entries
4 entries across 4 versions & 1 rubygems