Add Rakefile

This commit is contained in:
Sven Weidauer 2022-05-25 20:21:33 +02:00
parent 47a691a8e9
commit 58e1e2402c
4 changed files with 25 additions and 1 deletions

16
Rakefile Normal file
View file

@ -0,0 +1,16 @@
# frozen_string_literal: true
require 'bundler/gem_tasks'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
warn e.message
warn 'Run `bundle install` to install missing gems'
exit e.status_code
end
require 'rubocop/rake_task'
desc 'Run RuboCop'
RuboCop::RakeTask.new(:lint)