Sha256: 2841b9fbbf450b17134b52804825fdc4f71b3acbe35c6fe7148e438cfa178d6c

Contents?: true

Size: 629 Bytes

Versions: 32

Compression:

Stored size: 629 Bytes

Contents

# This helper file provides tasks to set the environment. This is just for convenience
# so that these tasks might be a dependency for other tasks

namespace :environment do
  full_configuration[:environments].each_key do |env|
    # Sets the environment to #{env}
    task env do
      configuration.environment = env
    end

    namespace env do
      full_configuration[:environments][env].each_key do |target|
        # Sets the environment to #{env} and the target to #{target}
        task target do
          configuration.environment = env
          configuration.target = target
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
fulmar-1.8.0 lib/fulmar/domain/task/environment.rake
fulmar-1.7.5 lib/fulmar/domain/task/environment.rake
fulmar-1.7.4 lib/fulmar/domain/task/environment.rake
fulmar-1.7.3 lib/fulmar/domain/task/environment.rake
fulmar-1.7.2 lib/fulmar/domain/task/environment.rake
fulmar-1.7.1 lib/fulmar/domain/task/environment.rake
fulmar-1.7.0 lib/fulmar/domain/task/environment.rake
fulmar-1.6.4 lib/fulmar/domain/task/environment.rake
fulmar-1.6.3 lib/fulmar/domain/task/environment.rake
fulmar-1.6.2 lib/fulmar/domain/task/environment.rake
fulmar-1.6.1 lib/fulmar/domain/task/environment.rake
fulmar-1.6.0 lib/fulmar/domain/task/environment.rake