Sha256: b62fee502c0b10ba8d4cd465b3d1f37456b7a07fccab6898244dcb9388ca001c

Contents?: true

Size: 1020 Bytes

Versions: 10

Compression:

Stored size: 1020 Bytes

Contents

require "bundler/setup"

<% if configuration.build_git && configuration.build_git_lint %>
  require "git/lint/rake/register"
<% end %>
<% if configuration.build_reek %>
  require "reek/rake/task"
<% end %>
<% if configuration.build_rspec %>
  require "rspec/core/rake_task"
<% end %>
<% if configuration.build_caliber %>
  require "rubocop/rake_task"
<% end %>

<% if configuration.build_git && configuration.build_git_lint %>
  Git::Lint::Rake::Register.call
<% end %>
<% if configuration.build_reek %>
  Reek::Rake::Task.new
<% end %>
<% if configuration.build_rspec %>
  RSpec::Core::RakeTask.new { |task| task.verbose = false }
<% end %>
<% if configuration.build_caliber %>
  RuboCop::RakeTask.new
<% end %>

desc "Run code quality checks"
task quality: %i[<% if configuration.build_git && configuration.build_git_lint %>git_lint<% end %> <% if configuration.build_reek %>reek<% end %> <% if configuration.build_caliber %>rubocop<% end %>]

task default: %i[quality <% if configuration.build_rspec %>spec<% end %>]

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rubysmith-6.10.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.9.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.6.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.5.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.4.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.3.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.2.1 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.2.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.1.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-6.0.0 lib/rubysmith/templates/%project_name%/Rakefile.erb