Class: Breeze::Configuration
- Defined in:
- lib/breeze/tasks/configuration.rb
Overview
The idea was stolen from rubber: github.com/wr0ngway/rubber but this is a simple implementation with no support for roles and additives. See github.com/wr0ngway/rubber/wiki/Configuration
Instance Method Summary collapse
Methods inherited from Veur
Instance Method Details
#deploy_to_localhost(file_pattern = 'config/breeze/configs/**/*') ⇒ Object
15 16 17 18 19 |
# File 'lib/breeze/tasks/configuration.rb', line 15 def deploy_to_localhost(file_pattern='config/breeze/configs/**/*') Dir[file_pattern].sort.each do |path| transform_and_deploy(path, [:force]) unless File.directory?(path) end end |