Sha256: 6fa5fba005be0aa7ad83b74b4027074069aa02f9fa865622e8be708d0e78378a
Contents?: true
Size: 685 Bytes
Versions: 3
Compression:
Stored size: 685 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' project_name = 'github_copier' 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/github_copier' include GithubCopier 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github_copier-0.2.1 | Rakefile |
github_copier-0.2.0 | Rakefile |
github_copier-0.1.0 | Rakefile |