Sha256: af7dba93b522d753b3442f927d31c490979db29f851b8a83c3f6d39819059258
Contents?: true
Size: 1.07 KB
Versions: 47
Compression:
Stored size: 1.07 KB
Contents
require 'rubygems' Encoding.default_external=Encoding::UTF_8 Encoding.default_internal=Encoding::UTF_8 if !RUBY_PLATFORM.include?("darwin") begin require 'rainbow' rescue puts "require 'rainbow' threw an exception" end else puts "skipping rainbow on mac os" class String def foreground arg return self end def bright return self end end end require 'semver' # if DEV_DEBUG is defined, puts_debug will send message to the console def puts_debug msg if(defined?(DEV_DEBUG)) puts msg end end # if DEV_DEBUG_VERBOSE is defined, puts_debug_verbose will send message to the console def puts_debug_verbose msg if(defined?(DEV_DEBUG_VERBOSE)) puts msg end end puts_debug "read " + __FILE__.foreground(:green) ["Environment","Array","Hash","SystemCall","MsBuild","Paths","Dep","Deps","Database","BoostBuild","Project","Commands","Tasks"].each{ |f| require "#{File.dirname(__FILE__)}/dev/#{f}.rb" } Dir["#{File.dirname(__FILE__)}/dev/**/*.rb"].each{ |f| require f } DEV_ROOT=Dev::Environment.dev_root
Version data entries
47 entries across 47 versions & 1 rubygems