Sha256: d90e44c857196920d9d8472e8cd60e5145cedadab96d765976f616e2b2fa6a55
Contents?: true
Size: 640 Bytes
Versions: 17
Compression:
Stored size: 640 Bytes
Contents
#!/usr/bin/env ruby require 'commander/import' require 'sct' if RUBY_VERSION < '2.0.0' abort("sct requires Ruby 2.0.0 or higher") end def self.windows? (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil end if ARGV.include?('-v') || ARGV.include?('--version') # This will print out the sct binary path right above the # version number. Very often, users are not aware they have # e.g. bundled sct installed puts("sct installation at path:") puts(File.expand_path(__FILE__)) puts("-----------------------------") end Sct::SctCore.take_off(Sct.constants.map(&Sct.method(:const_get)).grep(Class))
Version data entries
17 entries across 17 versions & 1 rubygems