[erlang-questions] Conditional configuration?

Tuncer Ayaz tuncer.ayaz@REDACTED
Fri May 30 11:44:59 CEST 2014


On 5/30/14, David Welton wrote:
> Chicago Boss copies a handy idea from Rails, which copied it from
> somewhere else in turn: having different "environments", such as
> development, production and testing.
>
> Is it possible to conditionally do things in an Erlang configuration
> file?  I get the impression it is not.
>

[...]

>
> Ideas on how to best accomplish this?

Have you considered file:script?

http://www.erlang.org/doc/man/file.html#script-1



More information about the erlang-questions mailing list