Sha256: 2d8237ed0dea407af833816754ffa5a043988f681fefe8bc5919a3dcbc7fbed8

Contents?: true

Size: 566 Bytes

Versions: 1

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 uf args.length == 0
	end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dev-2.0.221 lib/dev.rb