rebar3_clojerl_utils
Summary
Types
Functions
- all_apps(State)
- ensure_clojerl()
- filter_app(Apps, Name)
- find_app(Apps, Name)
- maybe_set_sname(Opts)
-
update_app_file(Dir)
Updates the list of modules in the .app file for the specified directory.
Types
opts()
-type opts() :: [{atom(), any()}].
Functions
all_apps(State)
-spec all_apps(rebar_state:t()) -> [rebar_app_info:t()].
ensure_clojerl()
-spec ensure_clojerl() -> ok.
filter_app(Apps, Name)
-spec filter_app([rebar_app_info:t()], binary()) -> [rebar_app_info:t()].
find_app(Apps, Name)
-spec find_app(rebar_state:t(), binary()) -> notfound | {ok, any()}.
maybe_set_sname(Opts)
-spec maybe_set_sname(opts()) -> ok.
update_app_file(Dir)
-spec update_app_file(file:name()) -> ok.
Updates the list of modules in the .app file for the specified directory.
The .app file will be update to include all modules in itsmodules
entry. The modules listed are resolved by looking for all
files with the extension .beam
in Dir
.