| app_src_to_app/3 | translates the name of the .app.src[.script] file to where its .app counterpart should be stored. |
| dep_to_app/7 | convert a dependency that has just been fetched into an app info record related to it. |
| expand_deps_sources/2 | Takes a given application app_info record along with the project. |
| find/2 | finds the proper app info record for a given app name in a list of such records. |
| find/3 | finds the proper app info record for a given app name at a given version in a list of such records. |
| format_error/1 | convert a given exception's payload into an io description. |
| is_app_src/1 | checks if a given file is .app.src file. |
| lint_app_info/1 | |
| parse_dep/6 | for a given dep, return its app info record. |
| parse_deps/5 | parses all dependencies from the root of the project. |
| parse_deps/6 | runs parse_dep/6 for a set of dependencies. |
| validate_application_info/1 | checks whether the .app file has all the required data to be valid, and cross-references it with compiled modules on disk. |
| validate_application_info/2 | checks whether the .app file has all the required data to be valid and cross-references it with compiled modules on disk. |
app_src_to_app(OutDir, SrcFilename, State) -> OutFilename
OutDir = file:filename()SrcFilename = file:filename()State = rebar_state:t()OutFilename = file:filename()
translates the name of the .app.src[.script] file to where its .app counterpart should be stored.
dep_to_app(Parent, Dir, Name, Vsn, Source, IsLock, State) -> rebar_app_info:t()
Parent = root | binary()Dir = file:filename()Name = binary()Vsn = iodata() | undefinedSource = tuple()IsLock = boolean()State = rebar_state:t()
convert a dependency that has just been fetched into an app info record related to it
expand_deps_sources(Dep::rebar_app_info:t(), State::rebar_state:t()) -> rebar_app_info:t()
Takes a given application app_info record along with the project. If the app is a package, resolve and expand the package definition.
find(Name::binary(), Apps::[rebar_app_info:t()]) -> {ok, rebar_app_info:t()} | error
finds the proper app info record for a given app name in a list of such records.
find(Name::binary(), Vsn::binary(), Apps::[rebar_app_info:t()]) -> {ok, rebar_app_info:t()} | error
finds the proper app info record for a given app name at a given version in a list of such records.
format_error(Error::any()) -> iolist()
convert a given exception's payload into an io description.
is_app_src(Filename) -> any()
checks if a given file is .app.src file
lint_app_info(AppInfo) -> any()
parse_dep(Dep, Parent, Dir, State, Locks, Level) -> rebar_app_info:t()
Dep = tuple() | atom() | binary()Parent = root | binary()Dir = file:filename()State = rebar_state:t()Locks = [tuple()]Level = non_neg_integer()
for a given dep, return its app info record. The function also has to choose whether to define the dep from its immediate spec (if it is a newer thing) or from the locks specified in the lockfile.
parse_deps(Dir, Deps, State, Locks, Level) -> [rebar_app_info:t()]
Dir = file:filename()Deps = [tuple() | atom() | binary()]State = rebar_state:t()Locks = [tuple()]Level = non_neg_integer()
parses all dependencies from the root of the project
parse_deps(Parent, Dir, Deps, State, Locks, Level) -> [rebar_app_info:t()]
Parent = root | binary()Dir = file:filename()Deps = [tuple() | atom() | binary()]State = rebar_state:t()Locks = [tuple()]Level = non_neg_integer()
runs parse_dep/6 for a set of dependencies.
validate_application_info(AppInfo::rebar_app_info:t()) -> boolean()
checks whether the .app file has all the required data to be valid, and cross-references it with compiled modules on disk
validate_application_info(AppInfo::rebar_app_info:t(), AppDetail::list()) -> boolean()
checks whether the .app file has all the required data to be valid and cross-references it with compiled modules on disk. The app info is passed explicitly as a second argument.
Generated by EDoc