mirror of
https://github.com/lloeki/package-ruby.git
synced 2025-12-06 01:54:41 +01:00
preview
This commit is contained in:
commit
32b99b62bf
20 changed files with 644 additions and 0 deletions
21
Rakefile
Normal file
21
Rakefile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
require 'yard'
|
||||
YARD::Rake::YardocTask.new do |t|
|
||||
t.files = ['lib/**/*.rb']
|
||||
t.options = %w(- README.md LICENSE CONTRIBUTING)
|
||||
end
|
||||
|
||||
require 'rspec/core'
|
||||
require 'rspec/core/rake_task'
|
||||
desc 'Run all specs in spec directory (excluding plugin specs)'
|
||||
RSpec::Core::RakeTask.new
|
||||
|
||||
require 'rubocop/rake_task'
|
||||
RuboCop::RakeTask.new
|
||||
|
||||
desc 'Run RSpec with code coverage'
|
||||
task :coverage do
|
||||
ENV['COVERAGE'] = 'yes'
|
||||
Rake::Task['spec'].execute
|
||||
end
|
||||
|
||||
task default: :spec
|
||||
Loading…
Add table
Add a link
Reference in a new issue