Sha256: 2ff7aedace4d131062cccf05b6433ffdc7a1546401571f007ab253e140d4194b
Contents?: true
Size: 691 Bytes
Versions: 4
Compression:
Stored size: 691 Bytes
Contents
require "bundler/gem_tasks" require "rake/testtask" project_name = "folders_renamer" 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/folders_renamer" include FoldersRenamer 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 |
---|---|
folders_renamer-0.2.5 | Rakefile |
folders_renamer-0.2.4 | Rakefile |
folders_renamer-0.2.3 | Rakefile |
folders_renamer-0.2.2 | Rakefile |