Rakefile in active_remote-3.3.3 vs Rakefile in active_remote-5.0.0.pre

- old
+ new

@@ -1,14 +1,18 @@ #!/usr/bin/env rake require "bundler/gem_tasks" require "protobuf/tasks" require "rspec/core/rake_task" +require "rubocop/rake_task" +desc "Run cops" +::RuboCop::RakeTask.new(:rubocop) + desc "Run specs" -RSpec::Core::RakeTask.new(:spec) +::RSpec::Core::RakeTask.new(:spec) -desc "Run specs (default)" -task :default, [] => :spec +desc "Run cops and specs (default)" +task :default => [:rubocop, :spec] desc "Remove protobuf definitions that have been compiled" task :clean do FileUtils.rm(Dir.glob("spec/support/protobuf/**/*.proto")) puts "Cleaned"