Sha256: ada747bf173c69b96523bbad225aa87d350d5b8636f3f466c5ae92ab3a7f4b82

Contents?: true

Size: 533 Bytes

Versions: 5

Compression:

Stored size: 533 Bytes

Contents

require "bundler/gem_tasks"
Bundler::GemHelper.install_tasks
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new

task :pry do
  require "pry"
  require "awesome_print"
  require_relative "lib/<%= name %>"
  include <%= MiscUtils.camel_case(name) %>
  ARGV.clear
  Pry.start
end

require "rubocop/rake_task"
desc "Run RuboCop on the lib directory"
RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns      = ["lib/**/*.rb"]
  task.formatters    = ["files"]
  task.fail_on_error = false
end

task default: [:spec, :rubocop]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gem_bootstrap-0.2.7 templates/Rakefile-rspec
gem_bootstrap-0.2.6 templates/Rakefile-rspec
gem_bootstrap-0.2.5 templates/Rakefile-rspec
gem_bootstrap-0.2.4 templates/Rakefile-rspec
gem_bootstrap-0.2.3 templates/Rakefile-rspec