1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-10 12:47:45 +03:00
mal/erlang/rebar.config.script
2016-02-24 00:33:20 -06:00

12 lines
327 B
Plaintext

%%
%% rebar dynamic configuration file
%% (https://github.com/rebar/rebar/wiki/Dynamic-configuration)
%%
case os:getenv("MAL_STEP") of
false -> CONFIG; % env var not defined
[] -> CONFIG; % env var set to empty string
Step -> CONFIG ++ [{escript_name, Step}];
mal -> CONFIG ++ [{escript_name, mal}]
end.