Sha256: 0e570297e930aa8e829651686b47ddec45e00957a1749eb2fbf062b7b6dc5535

Contents?: true

Size: 718 Bytes

Versions: 18

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.list(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

18 entries across 18 versions & 1 rubygems

Version Path
dev-2.0.256 lib/dev.rb
dev-2.0.255 lib/dev.rb
dev-2.0.254 lib/dev.rb
dev-2.0.253 lib/dev.rb
dev-2.0.252 lib/dev.rb
dev-2.0.251 lib/dev.rb
dev-2.0.250 lib/dev.rb
dev-2.0.249 lib/dev.rb
dev-2.0.248 lib/dev.rb
dev-2.0.247 lib/dev.rb
dev-2.0.246 lib/dev.rb
dev-2.0.245 lib/dev.rb
dev-2.0.244 lib/dev.rb
dev-2.0.243 lib/dev.rb
dev-2.0.242 lib/dev.rb
dev-2.0.241 lib/dev.rb
dev-2.0.240 lib/dev.rb
dev-2.0.239 lib/dev.rb