IoC Env 1.1.0
A library for determining the application environment; dev, test, stage, or prod

IoC Env is a library for determining the application environment, be it development, test or production.

It sniffs environment variables and program arguments, and offers a manual override option - useful for testing.

Read more...

Install

To install IoC Env with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install IoC Env with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afIocEnv.pod (26.82 kB)

Use

To use IoC Env in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afIocEnv 1.1.0 - 1.1"]

Documentation

Information

Meta information on the IoC Env pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
26.82 kB
Licence
ISC Licence (ISC)
Built on
9th Apr 2016
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afiocenv
Depends on
afIoc, afIocConfig, sys
Referenced by
afBedNap, afBedSheet, afColdFeet, afEfanXtra, afEggbox, afPillow, afSleepSafe
Javascript Compatible

Dependency Graph

  Use mouse to re-position pods

Release History

There have been 13 releases of IoC Env: