Rakefile in psenv-0.3.0 vs Rakefile in psenv-0.4.0
- old
+ new
@@ -1,7 +1,8 @@
require "bundler/gem_helper"
require "rspec/core/rake_task"
+require "rubocop/rake_task"
namespace "psenv" do
Bundler::GemHelper.install_tasks name: "psenv"
end
@@ -18,7 +19,8 @@
task build: ["psenv:build", "psenv-rails:build"]
task install: ["psenv:install", "psenv-rails:install"]
task release: ["psenv:release", "psenv-rails:release"]
RSpec::Core::RakeTask.new(:spec)
+RuboCop::RakeTask.new(:rubocop)
-task default: :spec
+task default: %i[rubocop spec]