Rakefile in gooddata-0.6.24 vs Rakefile in gooddata-0.6.25
- old
+ new
@@ -10,12 +10,14 @@
require 'rake/notes/rake_task'
require 'rspec/core/rake_task'
require 'yard'
-desc 'Run Rubocop'
-task :cop do
- exec 'rubocop lib/ gooddata.gemspec Rakefile'
+require 'rubocop/rake_task'
+
+desc 'Run RuboCop'
+RuboCop::RakeTask.new(:rubocop) do |task|
+ task.patterns = ['lib/**/*.rb']
end
desc 'Run continuous integration test'
task :ci do
Rake::Task['test:unit'].invoke