Sha256: 54bba11976418ca0742ec6fd276e2399da89dbe59157d95be2f17438151254e6
Contents?: true
Size: 686 Bytes
Versions: 4
Compression:
Stored size: 686 Bytes
Contents
require "bundler/gem_tasks" require "rake/testtask" project_name = "filename_cleaner" 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/#{project_name}" include FilenameCleaner 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
filename_cleaner-0.3.9 | Rakefile |
filename_cleaner-0.3.8 | Rakefile |
filename_cleaner-0.3.7 | Rakefile |
filename_cleaner-0.3.6 | Rakefile |