Sha256: e772eeec8dd3a2db34ca3639018e4ce09ca53e93d342d87cb24a4f3c899674d1

Contents?: true

Size: 718 Bytes

Versions: 10

Compression:

Stored size: 718 Bytes

Contents

puts __FILE__ if defined?(DEBUG)

require_relative('base.rb')
require_relative('apps.rb')
require_relative('tasks.rb')
require_relative('commands.rb')

if(File.exists?(Environment.configuration))
  require Environment.configuration
end

PROJECT=Project.new()

class Dev
	def self.execute args
		PROJECTS.import(args.length>1 ? args[1]:'') if args.length > 0 && args[0] == 'import'
		PROJECTS.show(args.length>1 ? args[1]:'') if args.length > 0 && args[0] == 'list'
		PROJECTS.make(args) if args.length > 0 && args[0] == 'make'
		PROJECTS.work(args) if args.length > 0 && args[0] == 'work'
		usage if args.length == 0
	end

	def self.usage
		puts 'Usage:'
		puts ' list [pattern]'
	end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dev-2.0.238 lib/dev.rb
dev-2.0.237 lib/dev.rb
dev-2.0.236 lib/dev.rb
dev-2.0.235 lib/dev.rb
dev-2.0.234 lib/dev.rb
dev-2.0.233 lib/dev.rb
dev-2.0.232 lib/dev.rb
dev-2.0.231 lib/dev.rb
dev-2.0.230 lib/dev.rb
dev-2.0.229 lib/dev.rb