Sha256: b2f40c1716ab8553fe35cd2850f6325f52a6b359155aecc4844310d319c9968b

Contents?: true

Size: 566 Bytes

Versions: 2

Compression:

Stored size: 566 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.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

2 entries across 2 versions & 1 rubygems

Version Path
dev-2.0.223 lib/dev.rb
dev-2.0.222 lib/dev.rb