Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fix to make erlguten.app.src valid Erlang #4

Merged
merged 1 commit into from Apr 23, 2015
Merged

Minor fix to make erlguten.app.src valid Erlang #4

merged 1 commit into from Apr 23, 2015

Conversation

ghost
Copy link

@ghost ghost commented Apr 23, 2015

By changing the placeholder [%MODULES%] to ["%MODULES%"] and adapting
the Perl script accordingly, erlguten.app.src can be turned into valid
Erlang syntax. This allows it to be processed via file:consult and
therefore rebar.

With this fix in place, depending on erlguten in rebar.config
is as simple as:

{deps,[{erlguten, ".*", {git, "https://github.com/richcarl/erlguten"}}]}.
{post_hooks,[{'get-deps', 'make -C deps/erlguten'}]}.

By changing the placeholder [%MODULES%] to ["%MODULES%"] and adapting
the Perl script accordingly, erlguten.app.src can be turned into valid
Erlang syntax. This allows it to be processed via file:consult and
therefore rebar.

With this fix in place, depending on erlguten in rebar.config
is as simple as:
{deps,[{erlguten, ".*", {git, "https://github.com/richcarl/erlguten"}}]}.
{post_hooks,[{'get-deps', 'make -C deps/erlguten'}]}.
richcarl added a commit that referenced this pull request Apr 23, 2015
Minor fix to make erlguten.app.src valid Erlang
@richcarl richcarl merged commit 2cef61f into richcarl:master Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant