Sha256: bbea1868b6fbc004a590aa299a13c0318212c07b905b7d6c4ba32869c7454ef7

Contents?: true

Size: 412 Bytes

Versions: 99

Compression:

Stored size: 412 Bytes

Contents

#!/usr/bin/env ruby
$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), "../lib")))

require "cc/cli"

if ENV["CODECLIMATE_PROFILE"]
  require "stackprof"

  StackProf.start mode: :wall, out: "profile.bin"
end

CC::CLI::Runner.run(ARGV)

if ENV["CODECLIMATE_PROFILE"]
  StackProf.stop
  StackProf.results

  system "stackprof profile.bin"
  puts
  system "stackprof --graphviz profile.bin"
end

Version data entries

99 entries across 99 versions & 2 rubygems

Version Path
codeclimate-0.78.0 bin/codeclimate
codeclimate-0.77.0 bin/codeclimate
codeclimate-0.76.0 bin/codeclimate
codeclimate-0.75.0 bin/codeclimate
codeclimate-0.74.0 bin/codeclimate
codeclimate-0.73.0 bin/codeclimate
codeclimate-0.72.0 bin/codeclimate
codeclimate-0.71.2 bin/codeclimate
codeclimate-0.71.1 bin/codeclimate
codeclimate-0.71.0 bin/codeclimate
codeclimate-0.70.6 bin/codeclimate
codeclimate-0.70.5 bin/codeclimate
codeclimate-0.70.4 bin/codeclimate
codeclimate-0.70.3 bin/codeclimate
codeclimate-0.70.2 bin/codeclimate
codeclimate-0.70.1 bin/codeclimate
codeclimate-0.70.0 bin/codeclimate
codeclimate-0.69.0 bin/codeclimate
codeclimate-0.68.0 bin/codeclimate