Sha256: dfbd6cfef684534b4b5b2a1a06f7de1c243fdb1774c5f12916abb621f3a4aed1

Contents?: true

Size: 617 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
gem_bootstrap-0.3.2 Rakefile
gem_bootstrap-0.3.1 Rakefile
gem_bootstrap-0.3.0 Rakefile
gem_bootstrap-0.2.9 Rakefile
gem_bootstrap-0.2.8 Rakefile
gem_bootstrap-0.2.7 Rakefile
gem_bootstrap-0.2.6 Rakefile
gem_bootstrap-0.2.5 Rakefile
gem_bootstrap-0.2.4 Rakefile