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