Skip to content

Instantly share code, notes, and snippets.

@mremond
Last active August 29, 2015 14:14
Show Gist options
  • Save mremond/f88943bc7fbce14fae1e to your computer and use it in GitHub Desktop.
Save mremond/f88943bc7fbce14fae1e to your computer and use it in GitHub Desktop.
Generate rebar.config file form rebar.config.script to debug it
1> {ok, Data} = file:script("rebar.config.script").
...
2> file:write_file("rebar.config", io_lib:fwrite("~p.\n", [Data])).
ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment