Sha256: 300da2a744d99828d58783df01bee17e68ecbf454028aa4dd48e12d291934975
Contents?: true
Size: 685 Bytes
Versions: 2
Compression:
Stored size: 685 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' project_name = 'github_cloner' 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_cloner' include GithubCloner 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
github-cloner-0.4.0 | Rakefile |
github-cloner-0.3.0 | Rakefile |