Commit | Line | Data |
---|---|---|
2cc3804b NF |
1 | %% |
2 | %% rebar dynamic configuration file | |
3 | %% (https://github.com/rebar/rebar/wiki/Dynamic-configuration) | |
4 | %% | |
5 | ||
6 | case os:getenv("MAL_STEP") of | |
7 | false -> CONFIG; % env var not defined | |
8 | [] -> CONFIG; % env var set to empty string | |
b6dc3e37 JM |
9 | Step -> CONFIG ++ [{escript_name, Step}]; |
10 | mal -> CONFIG ++ [{escript_name, mal}] | |
2cc3804b | 11 | end. |