Rakefile in anycable-rails-0.5.5 vs Rakefile in anycable-rails-0.6.0.rc1
- old
+ new
@@ -1,8 +1,13 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rubocop/rake_task"
-RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new
-task default: [:rubocop, :spec]
+desc "Run compatibility specs"
+RSpec::Core::RakeTask.new("spec:compatibility") do |task|
+ task.pattern = "spec/**/*_compatibility.rb"
+ task.verbose = false
+end
+
+task default: %w[rubocop spec:compatibility spec]