Sha256: d22e249830ffb6e8a0dc1ebdef3dee4eb2127873fa7d99dbd3b2bd48f10c95a0

Contents?: true

Size: 610 Bytes

Versions: 7

Compression:

Stored size: 610 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"
project_name = "source2pdf"

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/source2pdf"
  include Source2Pdf
  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"]
  task.formatters = ["files"]
  task.fail_on_error = false
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
source2pdf-0.2.6 Rakefile
source2pdf-0.2.5 Rakefile
source2pdf-0.2.4 Rakefile
source2pdf-0.2.3 Rakefile
source2pdf-0.2.2 Rakefile
source2pdf-0.2.1 Rakefile
source2pdf-0.2.0 Rakefile