# frozen_string_literal: true require 'bundler/gem_tasks' task default: %i[spec lint] task lint: :rubocop task fix: 'rubocop:auto_correct' begin require 'rspec/core/rake_task' RSpec::Core::RakeTask.new rescue LoadError nil end begin require 'rubocop/rake_task' RuboCop::RakeTask.new rescue LoadError nil end