Sha256: ca68b905ab0882ff2bba268f4a22e0c67ab6932ac48a641a464ab50b52259525

Contents?: true

Size: 553 Bytes

Versions: 14

Compression:

Stored size: 553 Bytes

Contents

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

task default: :spec
task :pry do
  require "pry"
  require "awesome_print"
  require "code_lister"
  include CodeLister
  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"]
  # only show the files with failures
  task.formatters = ["files"]
  # don't abort rake on failure
  task.fail_on_error = false
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
code_lister-0.2.7 Rakefile
code_lister-0.2.6 Rakefile
code_lister-0.2.5 Rakefile
code_lister-0.2.4 Rakefile
code_lister-0.2.3 Rakefile
code_lister-0.2.2 Rakefile
code_lister-0.2.1 Rakefile
code_lister-0.2.0 Rakefile
code_lister-0.1.7 Rakefile
code_lister-0.1.6 Rakefile
code_lister-0.1.5 Rakefile
code_lister-0.1.4 Rakefile
code_lister-0.1.3 Rakefile
code_lister-0.1.2 Rakefile