canvas-lms/bin/rubocop

25 lines
559 B
Ruby
Executable File

#!/usr/bin/env ruby
# frozen_string_literal: true
#
# This file was generated by Bundler.
#
# The application 'rubocop' is installed as part of a gem, and
# this file is here to facilitate running it.
#
require "bundler/inline"
Dir.chdir(File.expand_path("..", __dir__)) do
# be tricksy and use a tiny subset of the gemfile so that
# it will be very quick
gemfile do
source 'https://rubygems.org/'
gemfile = File.expand_path("../Gemfile.d/rubocop.rb", __dir__)
eval(File.read(gemfile))
end
end
load Gem.bin_path("rubocop", "rubocop")