Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Adapt erlydtl compiler plugin to latest version of erlydtl #221

Merged
merged 3 commits into from
Feb 24, 2014

Conversation

kaos
Copy link
Contributor

@kaos kaos commented Feb 2, 2014

Latest as of the time of this pull request was 0.8.1 (a 0.8.2 has recently been released which fixes the compile_dir function; which rebar doesn't use however).

kaos referenced this pull request in kaos/ChicagoBoss Feb 4, 2014
The `erlydtl:compile_dir` function was fixed in 0.8.2.
Fixes ChicagoBoss#419.

Also, the `report` and `return` options should now go directly into the erlydtl options, rather than into the `compiler_options` property; otherwise those options will not be treated by erlydtl, but only affect the erlang compiler, which is not what you want.
@ghost
Copy link

ghost commented Feb 4, 2014

Thanks, this looks reasonable to me, assuming the compatibility fix won't cause any issues due to duplicate/conflicting options.

Stylististically, can you remove the period in the commit title/summary (see CONTRIBUTING).

cc @jaredmorrow

@kaos
Copy link
Contributor Author

kaos commented Feb 4, 2014

Dropped ending period from commit message, and changed link to use https.

Unknown options are silently dropped/disregarded, so no harm there.

@kaos
Copy link
Contributor Author

kaos commented Feb 14, 2014

There was a subtle bug in the mixed handling of proplists vs lists that @davidw was kind enough to resolve.

@kaos
Copy link
Contributor Author

kaos commented Feb 14, 2014

This pull would also address the issue reported in basho/rebar#393.

@nuex
Copy link

nuex commented Feb 22, 2014

Is this ready to get merged in? I'm having issues similar to @dialtone in #393 (case of {ok, Module} not being handled in do_compile).

@kaos
Copy link
Contributor Author

kaos commented Feb 22, 2014

Yes, I believe it is.

@nuex
Copy link

nuex commented Feb 22, 2014

+1 Lets do it! What maintainer can we alert to push the button?

jaredmorrow added a commit that referenced this pull request Feb 24, 2014
Adapt erlydtl compiler plugin to latest version of erlydtl
@jaredmorrow jaredmorrow merged commit 289a71e into rebar:master Feb 24, 2014
@nuex
Copy link

nuex commented Feb 24, 2014

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants