Sha256: f374ac4bfdc757c17403f258747bc12a40fe39bf7677c77d926bfd6a557bd009

Contents?: true

Size: 945 Bytes

Versions: 10

Compression:

Stored size: 945 Bytes

Contents

require "bundler/setup"

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

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rubysmith-7.9.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.8.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.7.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.6.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.5.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.4.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.3.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.2.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.1.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-7.0.0 lib/rubysmith/templates/%project_name%/Rakefile.erb