Sha256: 011a11700270e1dcf04c283468bda32727e0784cd105cfa4dcc1451121179dfa

Contents?: true

Size: 630 Bytes

Versions: 15

Compression:

Stored size: 630 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
Rake::TestTask.new do |t|
  t.libs << "lib/vim_printer"
  t.test_files = FileList["test/lib/vim_printer/test_*.rb"]
  t.verbose = true
end
task default: [:test, :rubocop]
task :pry do
  require "pry"
  require "awesome_print"
  require "vim_printer"
  include VimPrinter
  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

15 entries across 15 versions & 1 rubygems

Version Path
vim_printer-0.2.7 Rakefile
vim_printer-0.2.6 Rakefile
vim_printer-0.2.5 Rakefile
vim_printer-0.2.4 Rakefile
vim_printer-0.2.3 Rakefile
vim_printer-0.2.2 Rakefile
vim_printer-0.2.1 Rakefile
vim_printer-0.2.0 Rakefile
vim_printer-0.1.12 Rakefile
vim_printer-0.1.11 Rakefile
vim_printer-0.1.10 Rakefile
vim_printer-0.1.9 Rakefile
vim_printer-0.1.8 Rakefile
vim_printer-0.1.7 Rakefile
vim_printer-0.1.6 Rakefile