Rakefile in aptly_cli-0.3.0 vs Rakefile in aptly_cli-0.3.1
- old
+ new
@@ -1,8 +1,15 @@
require "bundler/gem_tasks"
require "rake/testtask"
+begin
+ require 'rubocop/rake_task'
+ RuboCop::RakeTask.new
+rescue LoadError
+ puts 'Install "rubocop" to enable rubocop Rake task.'
+end
+
Rake::TestTask.new do |t|
t.libs << "lib"
t.libs << "test"
t.test_files = FileList['test/test_*.rb']
t.verbose = true