Sha256: ea955e19b4d59104622c90da849f5acd90801b67fe4ca13405f174a4b19ccabb
Contents?: true
Size: 665 Bytes
Versions: 9
Compression:
Stored size: 665 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' project_name = 'pdfs2pdf' 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 task :pry do require 'pry' require 'awesome_print' require_relative './lib/pdfs2pdf' include Pdfs2Pdf 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
9 entries across 9 versions & 1 rubygems