Sha256: bad14ab65e449ce3561370e1adffef4e5512067cfa23d5d2218300a65649fdd2
Contents?: true
Size: 1.56 KB
Versions: 7
Compression:
Stored size: 1.56 KB
Contents
require 'rubygems' start_time=Time.now 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 puts_debug "dev.rb loading, after require 'semver' elapsed time " + (Time.now-start_time).to_s start_time=Time.now # 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) puts_debug "dev.rb loading, before loading ruby files (part 1) elapsed time " + (Time.now-start_time).to_s start_time=Time.now ["Environment","Array","Hash","SystemCall","Scm","MsBuild","Paths","Dep","Deps","Database","BoostBuild","Project","Commands","Tasks"].each{ |f| require "#{File.dirname(__FILE__)}/dev/#{f}.rb" } puts_debug "dev.rb loading, before loading ruby files (part 2) elapsed time " + (Time.now-start_time).to_s start_time=Time.now Dir["#{File.dirname(__FILE__)}/dev/**/*.rb"].each{ |f| require f } puts_debug "dev.rb loading, after loading ruby files elapsed time " + (Time.now-start_time).to_s DEV_ROOT=Dev::Environment.dev_root
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
dev-1.0.237 | lib/dev.rb |
dev-1.0.236 | lib/dev.rb |
dev-1.0.235 | lib/dev.rb |
dev-1.0.233 | lib/dev.rb |
dev-1.0.232 | lib/dev.rb |
dev-1.0.231 | lib/dev.rb |
dev-1.0.230 | lib/dev.rb |