Skip to content
Rebar3 Erlydtl Plugin
Branch: master
Clone or download
tsloughter Merge pull request #16 from simplito/master
Make multiple doc_root case actually working
Latest commit f1ed948 Sep 28, 2016


A rebar plugin


$ rebar3 compile


Add the plugin to your rebar config:

{plugins, [
    {rebar3_erlydtl_plugin, ".*", {git, "", {branch, "master"}}}

Then just call your plugin directly in an existing application:

$ rebar3 erlydtl compile
===> Fetching rebar3_erlydtl_plugin
===> Compiling rebar3_erlydtl_plugin

To have it invoked automatically when running rebar3 compile add it as a provider_hooks:

{provider_hooks, [
                 {pre, [{compile, {erlydtl, compile}}]}
You can’t perform that action at this time.