Module: Canuby
- Defined in:
- lib/canuby.rb,
lib/canuby/version.rb
Overview
Copyright © 2018 Sandro Jäckel. All rights reserved.
This file is part of Canuby.
Canuby is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Canuby is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Canuby. If not, see <www.gnu.org/licenses/>.
Constant Summary collapse
- VERSION =
'0.0.2'
- CONFIG_VERSION =
'1'
Class Method Summary collapse
Class Method Details
.main ⇒ Object
43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/canuby.rb', line 43 def self.main # Config.load $options = ArgParser.parse(ARGV) logger.info("===== #{'Welcome to Canuby!'.green} =====".green) logger.debug('Running in debug mode.') require 'canuby/tasks' Rake.application[$options.target.to_s].invoke Config.write logger.info("=========== #{'Done'.green} ===========".green) end |