Sha256: 4c30202dec5f889a7fdd4469f5855598aac2ac9764f8ec96b20023c1ff53eb3f
Contents?: true
Size: 627 Bytes
Versions: 6
Compression:
Stored size: 627 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' project_name = 'extension_lister' 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/extension_lister' include ExtensionLister 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'] task.formatters = ['files'] task.fail_on_error = false end
Version data entries
6 entries across 6 versions & 1 rubygems