Sha256: e9ec4645ca40955bfcb7c05c76fab05abfa8071b852746985408986e13ca53f0

Contents?: true

Size: 471 Bytes

Versions: 37

Compression:

Stored size: 471 Bytes

Contents

#!/usr/bin/env ruby

# hit Control + C to stop
Signal.trap("INT") do
  warn "  cancelled by user (INT)"
  exit 1
end

# @return [String] the path to the 'lib' directory of Inch
def find_lib_path
  path = __FILE__
  while File.symlink?(path)
    path = File.expand_path(File.readlink(path), File.dirname(path))
  end
  File.join(File.dirname(File.expand_path(path)), '..', 'lib')
end

$LOAD_PATH.unshift(find_lib_path)

require 'inch'

Inch::CLI::CommandParser.run(*ARGV)

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
inch-0.3.2.rc2 bin/inch
inch-0.3.2.rc1 bin/inch
inch-0.3.1 bin/inch
inch-0.3.1.rc6 bin/inch
inch-0.3.1.rc5 bin/inch
inch-0.3.1.rc4 bin/inch
inch-0.3.1.rc3 bin/inch
inch-0.3.1.rc2 bin/inch
inch-0.3.1.rc1 bin/inch
inch-0.3.0 bin/inch
inch-0.3.0.rc3 bin/inch
inch-0.3.0.rc2 bin/inch
inch-0.3.0.rc1 bin/inch
inch-0.2.3 bin/inch
inch-0.2.2 bin/inch
inch-0.2.1 bin/inch
inch-0.2.0 bin/inch