Sha256: a41787bed274a244b90b3d071e2bd6febdd7179fa1a84647add0744e7d347c55
Contents?: true
Size: 440 Bytes
Versions: 12
Compression:
Stored size: 440 Bytes
Contents
include Capistrano::DSL namespace :load do task :defaults do load 'capistrano/defaults.rb' end end stages.each do |stage| Rake::Task.define_task(stage) do set(:stage, stage.to_sym) invoke 'load:defaults' load deploy_config_path load stage_config_path.join("#{stage}.rb") load "capistrano/#{fetch(:scm)}.rb" I18n.locale = fetch(:locale, :en) configure_backend end end require 'capistrano/dotfile'
Version data entries
12 entries across 10 versions & 3 rubygems