rebar_dict() = dict:dict()
t() = #state_t{dir = file:name(), opts = rebar_dict(), code_paths = rebar_dict(), default = rebar_dict(), escript_path = undefined | file:filename_all(), lock = any(), current_profiles = [atom()], namespace = atom(), command_args = any(), command_parsed_args = any(), current_app = undefined | rebar_app_info:t(), project_apps = [rebar_app_info:t()], deps_to_build = [rebar_app_info:t()], all_plugin_deps = [rebar_app_info:t()], all_deps = [rebar_app_info:t()], compilers = [module()], project_builders = [{rebar_app_info:project_type(), module()}], resources = any(), providers = any(), allow_provider_overrides = boolean()}
add_project_builder(State, Type, Module) -> any()
add_provider(State::t(), Provider::providers:t()) -> t()
add_resource(State::t(), X2::{rebar_resource_v2:type(), module()}) -> t()
add_to_profile(State, Profile, KVs) -> any()
all_checkout_deps(State_t) -> any()
all_deps(State_t) -> any()
all_deps(State, NewApps) -> any()
all_plugin_deps(State_t) -> any()
all_plugin_deps(State, NewApps) -> any()
allow_provider_overrides(State_t) -> any()
allow_provider_overrides(State, Allow) -> any()
register compiler modules. Each compiler
module should implement the rebar_compiler behaviour. Use this when
your custom compiler generates binary artifacts and does not have
a particular need to run before any other compiler.
apply_profiles(State, Profile) -> any()
code_paths(State_t::#state_t{dir = file:name(), opts = rebar_dict(), code_paths = rebar_dict(), default = rebar_dict(), escript_path = undefined | file:filename_all(), lock = any(), current_profiles = [atom()], namespace = atom(), command_args = any(), command_parsed_args = any(), current_app = undefined | rebar_app_info:t(), project_apps = [rebar_app_info:t()], deps_to_build = [rebar_app_info:t()], all_plugin_deps = [rebar_app_info:t()], all_deps = [rebar_app_info:t()], compilers = [module()], project_builders = [{rebar_app_info:project_type(), module()}], resources = any(), providers = any(), allow_provider_overrides = boolean()}, Key::atom()) -> [file:filename()]
code_paths(State_t::#state_t{dir = file:name(), opts = rebar_dict(), code_paths = rebar_dict(), default = rebar_dict(), escript_path = undefined | file:filename_all(), lock = any(), current_profiles = [atom()], namespace = atom(), command_args = any(), command_parsed_args = any(), current_app = undefined | rebar_app_info:t(), project_apps = [rebar_app_info:t()], deps_to_build = [rebar_app_info:t()], all_plugin_deps = [rebar_app_info:t()], all_deps = [rebar_app_info:t()], compilers = [module()], project_builders = [{rebar_app_info:project_type(), module()}], resources = any(), providers = any(), allow_provider_overrides = boolean()}, Key::atom(), CodePath::[file:filename()]) -> #state_t{dir = file:name(), opts = rebar_dict(), code_paths = rebar_dict(), default = rebar_dict(), escript_path = undefined | file:filename_all(), lock = any(), current_profiles = [atom()], namespace = atom(), command_args = any(), command_parsed_args = any(), current_app = undefined | rebar_app_info:t(), project_apps = [rebar_app_info:t()], deps_to_build = [rebar_app_info:t()], all_plugin_deps = [rebar_app_info:t()], all_deps = [rebar_app_info:t()], compilers = [module()], project_builders = [{rebar_app_info:project_type(), module()}], resources = any(), providers = any(), allow_provider_overrides = boolean()}
command_args(State_t) -> any()
command_args(State, CmdArgs) -> any()
command_parsed_args(State_t) -> any()
command_parsed_args(State, CmdArgs) -> any()
compilers(State_t::t()) -> [module()]
get a list of all registered compiler modules, which should implement
the rebar_compiler behaviour
create_logic_providers(ProviderModules, State0) -> any()
create_resources(Resources, State) -> any()
current_app(State_t) -> any()
current_app(State, CurrentApp) -> any()
current_profiles(State_t) -> any()
current_profiles(State, Profiles) -> any()
default(State_t) -> any()
default(State, Opts) -> any()
default_hex_repo_url_override(State::t()) -> binary()
deps_names(Deps) -> any()
deps_to_build(State_t) -> any()
deps_to_build(State, NewApps) -> any()
dir(State_t) -> any()
dir(State, Dir) -> any()
escript_path(State_t) -> any()
escript_path(State, EscriptPath) -> any()
format_error(X1) -> any()
get(State, Key) -> any()
get(State, Key, Default) -> any()
has_all_artifacts(State_t::#state_t{dir = file:name(), opts = rebar_dict(), code_paths = rebar_dict(), default = rebar_dict(), escript_path = undefined | file:filename_all(), lock = any(), current_profiles = [atom()], namespace = atom(), command_args = any(), command_parsed_args = any(), current_app = undefined | rebar_app_info:t(), project_apps = [rebar_app_info:t()], deps_to_build = [rebar_app_info:t()], all_plugin_deps = [rebar_app_info:t()], all_deps = [rebar_app_info:t()], compilers = [module()], project_builders = [{rebar_app_info:project_type(), module()}], resources = any(), providers = any(), allow_provider_overrides = boolean()}) -> true | {false, file:filename()}
lock(State_t) -> any()
lock(State, Apps) -> any()
merge_all_deps(State, UpdatedApps) -> any()
namespace(State_t) -> any()
namespace(State, Namespace) -> any()
new() -> t()
new(Config::list()) -> t()
new(ParentState::t(), Config::list(), Dir::file:filename_all()) -> t()
opts(State_t) -> any()
opts(State, Opts) -> any()
register compiler modules prior to the existing ones. Each compiler
module should implement the rebar_compiler behaviour. Use this when
your custom compiler generates .erl files (or files of another type) and
that should run before other compiler modules.
project_apps(State_t) -> any()
project_apps(State, NewApps) -> any()
project_builders(State_t) -> any()
providers(State_t) -> any()
providers(State, NewProviders) -> any()
resources(State_t::t()) -> [{rebar_resource_v2:type(), module()}]
resources(State::t(), NewResources::[{rebar_resource_v2:type(), module()}]) -> t()
set_resources(State::t(), Resources::[{rebar_resource_v2:type(), module()}]) -> t()
to_list(State_t) -> any()
update_all_deps(State, NewApps) -> any()
update_all_plugin_deps(State, NewApps) -> any()
update_code_paths(State_t::#state_t{dir = file:name(), opts = rebar_dict(), code_paths = rebar_dict(), default = rebar_dict(), escript_path = undefined | file:filename_all(), lock = any(), current_profiles = [atom()], namespace = atom(), command_args = any(), command_parsed_args = any(), current_app = undefined | rebar_app_info:t(), project_apps = [rebar_app_info:t()], deps_to_build = [rebar_app_info:t()], all_plugin_deps = [rebar_app_info:t()], all_deps = [rebar_app_info:t()], compilers = [module()], project_builders = [{rebar_app_info:project_type(), module()}], resources = any(), providers = any(), allow_provider_overrides = boolean()}, Key::atom(), CodePath::[file:filename()]) -> #state_t{dir = file:name(), opts = rebar_dict(), code_paths = rebar_dict(), default = rebar_dict(), escript_path = undefined | file:filename_all(), lock = any(), current_profiles = [atom()], namespace = atom(), command_args = any(), command_parsed_args = any(), current_app = undefined | rebar_app_info:t(), project_apps = [rebar_app_info:t()], deps_to_build = [rebar_app_info:t()], all_plugin_deps = [rebar_app_info:t()], all_deps = [rebar_app_info:t()], compilers = [module()], project_builders = [{rebar_app_info:project_type(), module()}], resources = any(), providers = any(), allow_provider_overrides = boolean()}
Generated by EDoc