Rebar Plugin¶
Efene is used as a library through a rebar3 plugin that is already available in efene rebar templates.
Compile Task¶
Efene compile task can be used as follows:
rebar3 efene compile
Options¶
--format | output format of the compile task, by default is “beam”, values:
|
--file | file to compile, by default it will compile all files in the project |
Example Usage¶
This section uses the project described in the Quick Start section.
Compile All Files¶
rebar3 efene compile
Compile One File to Erlang¶
rebar3 efene compile --format erl --file src/myfnapp.fn