lib/ormdev/command.rb in ormdev-0.0.2 vs lib/ormdev/command.rb in ormdev-0.0.3
- old
+ new
@@ -1,20 +1,22 @@
require 'claide'
-module Ormdev
- # class Command < CLAide::Command
- #
- # require 'ormdev/command/create'
- # require 'ormdev/command/package'
- # require 'ormdev/command/push'
- #
- # self.abstract_command = true
- # self.command = 'orm'
- # self.version = ORM::VERSION
- # self.description = 'OriginalM —— 混合模式移动应用(Hybrid App)持续集成(Continuous Integration)工具包,用于构建、编译、测试、分发、部署的工具。'
- #
- # def run
- # ORM::Log.info '* 开始执行orm … *'
- # end
- #
- # end
+module OrmDev
+ class Command < CLAide::Command
+
+ require 'ormdev/command/setup'
+ require 'ormdev/command/create'
+ require 'ormdev/command/lint'
+ require 'ormdev/command/run'
+ require 'ormdev/command/publish'
+
+ self.abstract_command = true
+ self.command = 'ormdev'
+ self.version = OrmDev::VERSION
+ self.description = 'OriginalM —— 混合模式移动应用(Hybrid App)持续集成(Continuous Integration)工具包,用于构建、编译、测试、分发、部署的工具。'
+
+ def run
+ OrmDev::LogUtil.info '* 开始执行orm … *'
+ end
+
+ end
end
\ No newline at end of file