Sha256: 92bdcd3d70f91a7336ec3167998d22d28a52ae0f2a28359f8619711ae6b91123

Contents?: true

Size: 687 Bytes

Versions: 18

Compression:

Stored size: 687 Bytes

Contents

#!/usr/bin/env ruby

if RUBY_VERSION < '2.0.0'
  abort("pantograph requires Ruby 2.0.0 or higher")
end

def self.windows?
  # taken from: https://stackoverflow.com/a/171011/1945875
  (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
end

require "pantograph/cli_tools_distributor"

if Pantograph::CLIToolsDistributor.running_version_command?
  # This will print out the pantograph binary path right above the
  # version number. Very often, users are not aware they have
  # e.g. bundled pantograph installed
  puts("pantograph installation at path:")
  puts(File.expand_path(__FILE__))
  puts("-----------------------------")
end

Pantograph::CLIToolsDistributor.take_off

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pantograph-0.1.22 bin/pantograph
pantograph-0.1.21 bin/pantograph
pantograph-0.1.20 bin/pantograph
pantograph-0.1.19 bin/pantograph
pantograph-0.1.17 bin/pantograph
pantograph-0.1.16 bin/pantograph
pantograph-0.1.15 bin/pantograph
pantograph-0.1.14 bin/pantograph
pantograph-0.1.13 bin/pantograph
pantograph-0.1.12 bin/pantograph
pantograph-0.1.10 bin/pantograph
pantograph-0.1.8 bin/pantograph
pantograph-0.1.7 bin/pantograph
pantograph-0.1.6 bin/pantograph
pantograph-0.1.4 bin/pantograph
pantograph-0.1.3 bin/pantograph
pantograph-0.1.1 bin/pantograph
pantograph-0.1.0 bin/pantograph