Class: Rave::Task
- Inherits:
-
Warbler::Task
- Object
- Warbler::Task
- Rave::Task
- Defined in:
- lib/commands/task.rb
Constant Summary collapse
- REQUIRED_GEMS =
["rave", "json-jruby", "rack", "builder", "RedCloth"]
Instance Method Summary collapse
-
#initialize ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize ⇒ Task
Returns a new instance of Task.
12 13 14 15 16 17 18 19 20 |
# File 'lib/commands/task.rb', line 12 def initialize warbler_config = Warbler::Config.new do |config| config.gems = ((robot_config['gems'] || []) + REQUIRED_GEMS).uniq config.includes = %w( robot.rb config.yaml ) end super(:rave, warbler_config) define_post_war_processes define_deploy_task end |