Module: Qbuild
- Defined in:
- lib/qbuild.rb,
lib/qbuild/config.rb,
lib/qbuild/version.rb,
lib/qbuild/jshandler.rb,
lib/qbuild/build_action.rb,
lib/qbuild/stylesheet_handler.rb
Defined Under Namespace
Modules: BuildAction, Config, Jshandler, StylesheetHandler
Constant Summary collapse
- VERSION =
'0.1.3'.freeze
Class Method Summary collapse
Class Method Details
.main(arg) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/qbuild.rb', line 8 def self.main(arg) if arg[0] == '--init' || arg[0] == '-i' init elsif arg[0] == '--version' || arg[0] == '-v' display_version elsif arg[0] == '--options' || arg[0] == '-o' elsif arg[0] == 'run' build_this_thing else display_help end end |