View Source rebar3_erlquery

A rebar plugin for compiling erlquery modules into erlang modules.

Directly inspired by rebar3_erlydtl_plugin.

build

Build

$ rebar3 compile

usage

Usage

Add the plugin to your rebar config:

{project_plugins, [rebar3_erlquery]}.

{provider_hooks, [{pre, [{compile, {erlquery, compile}}]}]}.

Then simply run:

rebar3 compile

As part of the compilation process it will compile the erlquery modules into erlang modules.

The final product is a BEAM file (or multiple BEAM files) in your _build directory.

license

License

Apache 2.0