Rakefile in discourse_api-0.34.0 vs Rakefile in discourse_api-0.35.0
- old
+ new
@@ -1,7 +1,12 @@
-require "bundler/gem_tasks"
+# frozen_string_literal: true
+require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
+require 'rubocop/rake_task'
+RuboCop::RakeTask.new(:rubocop)
+
task test: :spec
-task default: :spec
+task lint: :rubocop
+task default: [:spec, :lint]