mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
Fix missing rake task
This commit is contained in:
parent
697b941632
commit
4eb8e0ec48
@ -1,9 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
return unless defined?(Rubocop)
|
||||
|
||||
require 'rake/testtask'
|
||||
require 'rubocop/rake_task'
|
||||
begin
|
||||
require 'rubocop/rake_task'
|
||||
rescue LoadError
|
||||
return
|
||||
end
|
||||
|
||||
Rake::TestTask.new(test: :environment) do |t|
|
||||
t.libs.push('lib')
|
||||
|
Loading…
Reference in New Issue
Block a user