Generate rebar.config file from rebar.config.script
This may be needed if you use a tool that expects a static rebar config file (for example Intellij).
Here is how to temporarily generate the file:
1> {ok, Data} = file:script("rebar.config.script").
...
2> file:write_file("rebar.config", io_lib:fwrite("~p.\n", [Data])).
ok
Written by Mickaël Rémond
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Erlang
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#