Sha256: e77329603b178a3ee1a0ece69980f2ed0612435a36c1dbd741297f5ec8f8a674

Contents?: true

Size: 891 Bytes

Versions: 3

Compression:

Stored size: 891 Bytes

Contents

puts __FILE__ if defined?(DEBUG)

require 'json'
require 'rake/clean'

#Dir.glob("#{File.dirname(__FILE__)}/commands/*.rb").each{|rb| 
#  require(rb)
#}
Dir.glob("#{File.dirname(__FILE__)}/tasks/*.rb").each{|rb| 
  require(rb)
}
class Commands < Hash

	def initialize directory=Dir.pwd
		Dir.chdir(directory) do
		  self[:pull]=Pull.new
		  self[:update]=Update.new
		  self[:setup]=Setup.new
		  self[:build]=Build.new
		  self[:test]=Test.new
		  self[:analyze]=Analyze.new
		  self[:doc]=Doc.new
		  #self[:clean]=Clean.new
		  self[:publish]=Publish.new
		  #self[:clobber]=Clobber.new
		  self[:add]=Add.new
		  self[:commit]=Commit.new
		  self[:push]=Push.new
	    end
	end

end

#Dir.glob("#{File.dirname(__FILE__)}/commands/*.rb").each{|rb| 
#  require(rb)
#}
#require_relative('./apps/msbuild.rb')

COMMANDS=Commands.new
MSBUILD=MSBuild.new

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dev-2.0.152 lib/commands.rb
dev-2.0.151 lib/commands.rb
dev-2.0.150 lib/commands.rb