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