Sha256: 27bc60406c63c287ebb659f5369983ae64d06ccdb3ad5d30f62ff382463b56e0

Contents?: true

Size: 390 Bytes

Versions: 4

Compression:

Stored size: 390 Bytes

Contents

task :capigen => :environment do 
  
  include Capigen::Helper
  
  # auto_default = false
  
  config = Capigen::Config.new
  config.ask_all
      
  config_binding = config.get_binding
  write_template("capistrano/Capfile", config_binding, relative_to_root("Capfile"), true)    
  write_template("capistrano/deploy.rb.erb", config_binding, relative_to_root("config/deploy.rb"), true)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capigen-0.1.1 tasks/capigen.rake
capigen-0.1.2 tasks/capigen.rake
capigen-0.1.3 tasks/capigen.rake
capigen-0.1.4 tasks/capigen.rake