REBAR3.ECLASS
Section: eclass-manpages (5)Updated: Oct 2024
Index Return to Main Contents
NAME
rebar3.eclass - Build Erlang/OTP projects using dev-util/rebar:3.DESCRIPTION
An eclass providing functions to build Erlang/OTP projects using dev-util/rebar:3.rebar is a tool which tries to resolve dependencies itself which is by cloning remote git repositories. Dependent projects are usually expected to be in sub-directory 'deps' rather than looking at system Erlang lib directory. Projects relying on rebar usually don't have 'install' make targets. The eclass workarounds some of these problems. It handles installation in a generic way for Erlang/OTP structured projects.
SUPPORTED EAPIS
8TRANSITIVELY PROVIDED ECLASSES
rebar-utilsFUNCTIONS
- erebar3 <targets>
- Run rebar with verbose flag. Die on failure.
- rebar3_src_prepare
-
Prevent rebar3 from fetching and compiling dependencies. Set version in
project description file if it's not set.
Existence of rebar.config is optional, but file description file must exist at 'src/${PN}.app.src'.
- rebar3_src_configure
- Configure with ERL_LIBS set.
- rebar3_src_compile
- Compile project with rebar3.
- rebar3_src_test
- Run unit tests.
- rebar3_install_lib <dir>
-
Install BEAM files, include headers and native libraries.
Function expects that project conforms to Erlang/OTP structure.
- rebar3_src_install
-
Install built release or library.
Function expects that project conforms to Erlang/OTP structure.
ECLASS VARIABLES
- REBAR_PROFILE ?= default
- Rebar profile to use. Defaults to 'default'.
AUTHORS
Amadeusz Żołnowski <aidecoe@gentoo.org>Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
MAINTAINERS
Florian Schmaus <flow@gentoo.org>REPORTING BUGS
Please report bugs via https://bugs.gentoo.org/FILES
rebar3.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/rebar3.eclass
Index
- NAME
- DESCRIPTION
- SUPPORTED EAPIS
- TRANSITIVELY PROVIDED ECLASSES
- FUNCTIONS
- ECLASS VARIABLES
- AUTHORS
- MAINTAINERS
- REPORTING BUGS
- FILES
- SEE ALSO
This document was created by man2html, using the manual pages.
Time: 03:27:02 GMT, October 07, 2024