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

Version Path
sct-0.1.18 bin/sct
sct-0.1.17 bin/sct
sct-0.1.16 bin/sct
sct-0.1.15 bin/sct
sct-0.1.14 bin/sct
sct-0.1.13 bin/sct
sct-0.1.12 bin/sct
sct-0.1.11 bin/sct
sct-0.1.10 bin/sct
sct-0.1.9 bin/sct
sct-0.1.8 bin/sct
sct-0.1.7 bin/sct
sct-0.1.6 bin/sct
sct-0.1.5 bin/sct
sct-0.1.4 bin/sct
sct-0.1.2 bin/sct
sct-0.1.1 bin/sct