Sha256: b8ee1a5c99fed7dd33c8c338c2bf8935c6a36edb6a8c50f1371041668502405b

Contents?: true

Size: 524 Bytes

Versions: 13

Compression:

Stored size: 524 Bytes

Contents

Capistrano::Configuration.instance(:must_exist).load do

  define_recipe :fdl_defaults do |*args|

    set :ey_environment, !args.empty? ? args.shift : true unless exists?(:ey_environment)

    if ey_environment
      # Load external eycap dependencies
      require 'eycap/recipes'
    end

    # defaults for fdl
    set :scm, :git
    set :keep_releases, 5
    set :deploy_via, :remote_cache

    use_recipe :symlinks
    use_recipe :perform_cleanup
    use_recipe :symlink_configs
    use_recipe :automigrate

  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fdlcap-0.4.17 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.15 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.14 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.13 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.12 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.11 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.10 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.9 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.7 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.6 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.5 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.4 lib/fdlcap/recipes/fdl_defaults.rb
fdlcap-0.4.3 lib/fdlcap/recipes/fdl_defaults.rb