Sha256: 587515503fd7bcfa74da1f4e953644694f9cde342740e41307656c16ab5b1d11

Contents?: true

Size: 1.04 KB

Versions: 94

Compression:

Stored size: 1.04 KB

Contents

if defined?(DEBUG)
    puts DELIMITER
    puts __FILE__
end

require_relative('apps.rb')

require 'json'
require 'rake/clean'
require 'pp'

Dir.glob("#{File.dirname(__FILE__)}/tasks/*.rb").each{|rb| 
  require(rb) if !rb.include?('default')
}
class Commands < Hash
	attr_accessor :env
	def initialize env=nil,directory=Rake.application.original_dir
		@env=env
		@env=Environment.new() if @env.nil?
		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[:package]=Package.new
		  self[:publish]=Publish.new
		  self[:add]=Add.new
		  self[:commit]=Commit.new
		  self[:push]=Push.new
	    end
	end

	def info
		puts "Commands"
		self.each{|k,v|
			v.update if v.respond_to? 'update'
			if v.length > 0
				puts " #{k}"
				v.each{|c|
					puts "  #{c[:input]}" if(!c.kind_of?(Hash))
				}
			end
		}
	end
end

COMMANDS=Commands.new
MSBUILD=MSBuild.new

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
dev-2.1.92 lib/commands.rb
dev-2.1.91 lib/commands.rb
dev-2.1.90 lib/commands.rb
dev-2.1.89 lib/commands.rb
dev-2.1.88 lib/commands.rb
dev-2.1.87 lib/commands.rb
dev-2.1.86 lib/commands.rb
dev-2.1.85 lib/commands.rb
dev-2.1.84 lib/commands.rb
dev-2.1.83 lib/commands.rb
dev-2.1.82 lib/commands.rb
dev-2.1.81 lib/commands.rb
dev-2.1.80 lib/commands.rb
dev-2.1.79 lib/commands.rb
dev-2.1.78 lib/commands.rb
dev-2.1.77 lib/commands.rb
dev-2.1.76 lib/commands.rb
dev-2.1.75 lib/commands.rb
dev-2.1.74 lib/commands.rb
dev-2.1.73 lib/commands.rb