Sha256: daa0cb6652ff7ed3a80773b0dcd1bb3d2f69d540b11bab2c34b7943e363b777d

Contents?: true

Size: 655 Bytes

Versions: 5

Compression:

Stored size: 655 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'
		usage if args.length == 0
	end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dev-2.0.228 lib/dev.rb
dev-2.0.227 lib/dev.rb
dev-2.0.226 lib/dev.rb
dev-2.0.225 lib/dev.rb
dev-2.0.224 lib/dev.rb