add rubocop and rspec to Rakefile
This commit is contained in:
parent
f48236e47b
commit
a09b6affd4
13
Rakefile
13
Rakefile
|
@ -1,9 +1,8 @@
|
|||
require "rake/testtask"
|
||||
require 'rubocop/rake_task'
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
task :default => [:test]
|
||||
RuboCop::RakeTask.new
|
||||
RSpec::Core::RakeTask.new(:rspec)
|
||||
|
||||
task :default => [:rubocop, :rspec]
|
||||
|
||||
Rake::TestTask.new do |t|
|
||||
t.verbose = true
|
||||
t.libs.push("demo", "test")
|
||||
t.pattern = "test/**/*_test.rb"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user