Add Rakefile
This commit is contained in:
parent
47a691a8e9
commit
58e1e2402c
4 changed files with 25 additions and 1 deletions
16
Rakefile
Normal file
16
Rakefile
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue