Sha256: 7b19d60cce8f41f87b5d0144fceb7a5acaffbba0ba1f37875215b97cac25f6f9

Contents?: true

Size: 673 Bytes

Versions: 10

Compression:

Stored size: 673 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, :rubocop]
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

10 entries across 10 versions & 1 rubygems

Version Path
pdfs2pdf-0.2.5 Rakefile
pdfs2pdf-0.2.4 Rakefile
pdfs2pdf-0.2.3 Rakefile
pdfs2pdf-0.2.2 Rakefile
pdfs2pdf-0.2.1 Rakefile
pdfs2pdf-0.2.0 Rakefile
pdfs2pdf-0.1.6 Rakefile
pdfs2pdf-0.1.5 Rakefile
pdfs2pdf-0.1.4 Rakefile
pdfs2pdf-0.1.3 Rakefile