aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
blob: 9a5f79e5c67af39a47d1de0bdb7cf784927f992f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'rake'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

RSpec::Core::RakeTask.new(:spec) do |t|
    t.pattern = Dir.glob('test/**/*_spec.rb')
end

RuboCop::RakeTask.new(:rubocop) do |t|
    t.patterns = Dir.glob('lib/**/*.rb')
end

task default: :spec