Sha256: 41a8190168c1086c17debbf3261b5b7b1715e099003283a1b204aefbae3bc31f

Contents?: true

Size: 1.08 KB

Versions: 11

Compression:

Stored size: 1.08 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","Scm","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

11 entries across 11 versions & 1 rubygems

Version Path
dev-1.0.228 lib/dev.rb
dev-1.0.227 lib/dev.rb
dev-1.0.225 lib/dev.rb
dev-1.0.224 lib/dev.rb
dev-1.0.223 lib/dev.rb
dev-1.0.222 lib/dev.rb
dev-1.0.221 lib/dev.rb
dev-1.0.220 lib/dev.rb
dev-1.0.219 lib/dev.rb
dev-1.0.218 lib/dev.rb
dev-1.0.217 lib/dev.rb