Sha256: 7ab06c4c80d2a4dd77dbf94c1999bac0ca3c378b91e1df3cd5472a9a0b420c30

Contents?: true

Size: 968 Bytes

Versions: 5

Compression:

Stored size: 968 Bytes

Contents

<% if realm.build_bundler_audit %>
  require "bundler/audit/task"
<% end %>
<% if realm.build_git && realm.build_git_lint %>
  require "git/lint/rake/setup"
<% end %>
<% if realm.build_reek %>
  require "reek/rake/task"
<% end %>
<% if realm.build_rspec %>
  require "rspec/core/rake_task"
<% end %>
<% if realm.build_rubocop %>
  require "rubocop/rake_task"
<% end %>

<% if realm.build_bundler_audit %>
  Bundler::Audit::Task.new
<% end %>
<% if realm.build_reek %>
  Reek::Rake::Task.new
<% end %>
<% if realm.build_rspec %>
  RSpec::Core::RakeTask.new :spec
<% end %>
<% if realm.build_rubocop %>
  RuboCop::RakeTask.new
<% end %>

desc "Run code quality checks"
task code_quality: %i[<% if realm.build_bundler_audit %>bundle:audit<% end %> <% if realm.build_git && realm.build_git_lint %>git_lint<% end %> <% if realm.build_reek %>reek<% end %> <% if realm.build_rubocop %>rubocop<% end %>]

task default: %i[code_quality <% if realm.build_rspec %>spec<% end %>]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rubysmith-0.4.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-0.3.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-0.2.0 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-0.1.1 lib/rubysmith/templates/%project_name%/Rakefile.erb
rubysmith-0.1.0 lib/rubysmith/templates/%project_name%/Rakefile.erb