Sha256: a8f9dba7ba22c95a690a6c78e1ba3347aa8a95228600eeaf288e98967e3e8531
Contents?: true
Size: 613 Bytes
Versions: 9
Compression:
Stored size: 613 Bytes
Contents
require "bundler/gem_tasks" require "rake/testtask" project_name = "source2epub" 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/source2epub" include Source2Epub 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
9 entries across 9 versions & 1 rubygems