Rakefile in raap-0.3.0 vs Rakefile in raap-0.4.0
- old
+ new
@@ -1,8 +1,17 @@
# frozen_string_literal: true
require "bundler/gem_tasks"
require "minitest/test_task"
+require "rubocop/rake_task"
Minitest::TestTask.create
-task default: :test
+RuboCop::RakeTask.new
+
+namespace :steep do
+ task :check do
+ sh "bundle exec steep check"
+ end
+end
+
+task default: [:test, :rubocop, 'steep:check']