Sha256: e6cfaf26e9f0d8f0808b8ae3ddd8d495854d4560e3659e3f4f4eaf46d765de2b
Contents?: true
Size: 682 Bytes
Versions: 6
Compression:
Stored size: 682 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' project_name = 'dir_archiver' 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/dir_archiver' include DirArchiver 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
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
dir-archiver-0.1.5 | Rakefile |
dir-archiver-0.1.4 | Rakefile |
dir-archiver-0.1.3 | Rakefile |
dir-archiver-0.1.2 | Rakefile |
dir-archiver-0.1.1 | Rakefile |
dir-archiver-0.1.0 | Rakefile |