Sha256: 1495156ade67919401b763c0ac9cdbe64787a49197ae94967365b192172843ab

Contents?: true

Size: 551 Bytes

Versions: 158

Compression:

Stored size: 551 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

$LOAD_PATH.unshift("#{__dir__}/../lib")

require 'rubocop/server'
server_cli = RuboCop::Server::CLI.new
exit_status = server_cli.run
exit exit_status if server_cli.exit?

if RuboCop::Server.running?
  exit_status = RuboCop::Server::ClientCommand::Exec.new.run
else
  require 'benchmark'
  require 'rubocop'

  cli = RuboCop::CLI.new

  time = Benchmark.realtime { exit_status = cli.run }

  puts "Finished in #{time} seconds" if cli.options[:debug] || cli.options[:display_time]
end
exit exit_status

Version data entries

158 entries across 157 versions & 17 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/rubocop-1.64.1/exe/rubocop
rubocop-1.65.1 exe/rubocop
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/rubocop-1.64.1/exe/rubocop
rubocop-1.65.0 exe/rubocop
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/rubocop-1.64.1/exe/rubocop
rubocop-1.64.1 exe/rubocop
rubocop-1.63.4 exe/rubocop
rubocop-1.63.3 exe/rubocop
rubocop-1.63.2 exe/rubocop
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/rubocop-1.57.2/exe/rubocop
rubocop-1.63.1 exe/rubocop
rubocop-1.63.0 exe/rubocop
bison-0.1.0 vendor/bundle/ruby/3.2.0/gems/rubocop-1.62.1/exe/rubocop
rubocop-1.62.1 exe/rubocop
rubocop-1.62.0 exe/rubocop
rubocop-1.61.0 exe/rubocop
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/rubocop-1.60.2/exe/rubocop
rubocop-1.60.2 exe/rubocop
study_line-0.2.7 vendor/bundle/ruby/3.2.0/gems/rubocop-1.60.0/exe/rubocop
study_line-0.2.6 vendor/bundle/ruby/3.2.0/gems/rubocop-1.60.0/exe/rubocop