Rakefile in kilya-0.0.8 vs Rakefile in kilya-0.0.9

- old
+ new

@@ -1,8 +1,16 @@ -require 'rake/testtask' +require 'rubygems' +require 'rake' +desc "Run spec" +task default: %i[test rubocop] + +require 'rake/testtask' Rake::TestTask.new do |test| test.libs << 'test' end -desc "Run test" -task :default => :test +require 'rubocop/rake_task' +RuboCop::RakeTask.new do |task| + task.fail_on_error = true + task.requires << 'rubocop-rake' +end \ No newline at end of file