Sha256: c060a42420c0366133684ce26819eccda3a6f7fe4a0c28f5294eb2f83ad5ae48

Contents?: true

Size: 420 Bytes

Versions: 1

Compression:

Stored size: 420 Bytes

Contents

include Ferry::DSL

namespace :load do
  task :defaults do
    load 'ferry/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 "ferry/#{fetch(:scm)}.rb"
    I18n.locale = fetch(:locale, :en)
    configure_backend
  end
end

require 'ferry/dotfile'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ferry-2.0.0 lib/ferry/setup.rb