README.md

# rebar3_erlquery

A rebar plugin for compiling erlquery modules into erlang modules.

Directly inspired by [rebar3_erlydtl_plugin](https://github.com/tsloughter/rebar3_erlydtl_plugin).

## Build

    $ rebar3 compile

## 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

Apache 2.0