#!/usr/bin/env ruby # encoding: utf-8 # frozen_string_literal: true $LOAD_PATH.unshift(File.dirname(File.realpath(__FILE__)) + '/../lib') require 'rubocop' require 'benchmark' cli = RuboCop::CLI.new result = 0 time = Benchmark.realtime do result = cli.run end puts "Finished in #{time} seconds" if cli.options[:debug] exit result