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