Module rebar_utils

Function Index

abort/0
abort/2
args_to_tasks/1
beam_to_mod/1
beams/1
check_blacklisted_otp_versions/1
check_min_otp_version/1
check_min_otp_version/2
cleanup_code_path/1Revert to only having the beams necessary for running rebar3 and plugins in the path.
deprecated/3
deprecated/4
deps_to_binary/1
droplast/1
erl_to_mod/1
escape_chars/1
escape_double_quotes/1
escape_double_quotes_weak/1
escript_foldl/3
expand_env_variable/3Given env.
filtermap/2wrapper around lists:filtermap/2.
find_executable/1
find_files/2
find_files/3
find_files_in_dirs/3
find_source/3
get_arch/0returns the system architecture, in strings like "19.0.4-x86_64-unknown-linux-gnu-64".
get_proxy_auth/0
indent/1ident to the level specified.
info_useless/2
is_arch/1
is_list_of_strings/1
line_count/1
list_dir/1
otp_release/0
remove_from_code_path/1
reread_config/1
reread_config/2
set_httpc_options/0
sh/2
sh_send/3
sort_deps/1
ssl_opts/1 Return the SSL options adequate for the project based on its configuration, including for validation of certs.
to_atom/1
to_binary/1
to_list/1
tup_dedup/1
tup_find/2
tup_sort/1
tup_umerge/2
update_code/1
update_code/2
url_append_path/2
user_agent/0
vcs_vsn/3
wordsize/0returns the size of a word on the system, as a string.

Function Details

abort/0

abort() -> no_return()

abort/2

abort(String::string(), Args::[term()]) -> no_return()

args_to_tasks/1

args_to_tasks(Args) -> any()

beam_to_mod/1

beam_to_mod(Filename) -> any()

beams/1

beams(Dir) -> any()

check_blacklisted_otp_versions/1

check_blacklisted_otp_versions(BlacklistedRegexes) -> any()

check_min_otp_version/1

check_min_otp_version(MinOtpVersion) -> any()

check_min_otp_version/2

check_min_otp_version(MinOtpVersion, App) -> any()

cleanup_code_path/1

cleanup_code_path(OrigPath::[string()]) -> true | {error, term()}

Revert to only having the beams necessary for running rebar3 and plugins in the path

deprecated/3

deprecated(Old, New, When) -> any()

deprecated/4

deprecated(Old, New, Opts, When) -> any()

deps_to_binary/1

deps_to_binary(T) -> any()

droplast/1

droplast(L) -> any()

erl_to_mod/1

erl_to_mod(Filename) -> any()

escape_chars/1

escape_chars(Str) -> any()

escape_double_quotes/1

escape_double_quotes(Str) -> any()

escape_double_quotes_weak/1

escape_double_quotes_weak(Str) -> any()

escript_foldl/3

escript_foldl(Fun, Acc, File) -> any()

expand_env_variable/3

expand_env_variable(InStr::string(), VarName::string(), RawVarValue::term()) -> string()

Given env. variable FOO we want to expand all references to it in InStr. References can have two forms: $FOO and ${FOO} The end of form $FOO is delimited with whitespace or EOL

filtermap/2

filtermap(F, In::[In]) -> [Out]

wrapper around lists:filtermap/2

find_executable/1

find_executable(Name) -> any()

find_files/2

find_files(Dir, Regex) -> any()

find_files/3

find_files(Dir, Regex, Recursive) -> any()

find_files_in_dirs/3

find_files_in_dirs(T, Regex, Recursive) -> any()

find_source/3

find_source(Filename, Dir, Rules) -> any()

get_arch/0

get_arch() -> string()

returns the system architecture, in strings like "19.0.4-x86_64-unknown-linux-gnu-64".

get_proxy_auth/0

get_proxy_auth() -> any()

indent/1

indent(Amount::non_neg_integer()) -> iolist()

ident to the level specified

info_useless/2

info_useless(Old, New) -> any()

is_arch/1

is_arch(ArchRegex) -> any()

is_list_of_strings/1

is_list_of_strings(List::term()) -> boolean()

line_count/1

line_count(PatchLines) -> any()

list_dir/1

list_dir(Dir) -> any()

otp_release/0

otp_release() -> any()

remove_from_code_path/1

remove_from_code_path(Paths) -> any()

reread_config/1

reread_config(ConfigList) -> any()

reread_config/2

reread_config(ConfigList, Opts) -> any()

set_httpc_options/0

set_httpc_options() -> any()

sh/2

sh(Command0, Options0) -> any()

sh_send/3

sh_send(Command0, String, Options0) -> any()

sort_deps/1

sort_deps(Deps) -> any()

ssl_opts/1

ssl_opts(Url) -> Res

Return the SSL options adequate for the project based on its configuration, including for validation of certs.

to_atom/1

to_atom(B) -> any()

to_binary/1

to_binary(A) -> any()

to_list/1

to_list(A) -> any()

tup_dedup/1

tup_dedup(List) -> any()

tup_find/2

tup_find(Elem, Elems) -> any()

tup_sort/1

tup_sort(List) -> any()

tup_umerge/2

tup_umerge(NewList, OldList) -> any()

update_code/1

update_code(Paths) -> any()

update_code/2

update_code(Paths, Opts) -> any()

url_append_path/2

url_append_path(Url, ExtraPath) -> any()

user_agent/0

user_agent() -> any()

vcs_vsn/3

vcs_vsn(OriginalVsn, Dir, Resources) -> any()

wordsize/0

wordsize() -> string()

returns the size of a word on the system, as a string


Generated by EDoc