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.10.1 lib/fulmar/domain/task/environment.rake
fulmar-1.10.0 lib/fulmar/domain/task/environment.rake
fulmar-1.9.2 lib/fulmar/domain/task/environment.rake
fulmar-1.9.1 lib/fulmar/domain/task/environment.rake
fulmar-1.9.0 lib/fulmar/domain/task/environment.rake
fulmar-1.8.15 lib/fulmar/domain/task/environment.rake
fulmar-1.8.14 lib/fulmar/domain/task/environment.rake
fulmar-1.8.13 lib/fulmar/domain/task/environment.rake
fulmar-1.8.12 lib/fulmar/domain/task/environment.rake
fulmar-1.8.11 lib/fulmar/domain/task/environment.rake
fulmar-1.8.10 lib/fulmar/domain/task/environment.rake
fulmar-1.8.9 lib/fulmar/domain/task/environment.rake
fulmar-1.8.8 lib/fulmar/domain/task/environment.rake
fulmar-1.8.7 lib/fulmar/domain/task/environment.rake
fulmar-1.8.6 lib/fulmar/domain/task/environment.rake
fulmar-1.8.5 lib/fulmar/domain/task/environment.rake
fulmar-1.8.4 lib/fulmar/domain/task/environment.rake
fulmar-1.8.3 lib/fulmar/domain/task/environment.rake
fulmar-1.8.2 lib/fulmar/domain/task/environment.rake
fulmar-1.8.1 lib/fulmar/domain/task/environment.rake