Sha256: 25bcca42449adcdd34ae69c519d027293ffb61f091d87584d8f7185f27145cde

Contents?: true

Size: 617 Bytes

Versions: 4

Compression:

Stored size: 617 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
project_name = "gem_bootstrap"
Rake::TestTask.new do |t|
  t.libs << "lib/#{project_name}"
  t.test_files = FileList["test/lib/#{project_name}/test_*.rb"]
  t.verbose = true
end
task default: [:test, :rubocop]

task :pry do
  require "pry"
  require "awesome_print"
  require_relative "lib/gem_bootstrap"
  include GemBootstrap
  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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gem_bootstrap-0.2.3 Rakefile
gem_bootstrap-0.2.2 Rakefile
gem_bootstrap-0.2.1 Rakefile
gem_bootstrap-0.2.0 Rakefile