☰

rebar3_clojerl

0.8.6

  • Home
  • API Reference

Modules

  • rebar3_clojerl
  • rebar3_clojerl_prv_compile
  • rebar3_clojerl_prv_escriptize
  • rebar3_clojerl_prv_release
  • rebar3_clojerl_prv_repl
  • rebar3_clojerl_prv_run
  • rebar3_clojerl_prv_test
  • rebar3_clojerl_utils

rebar3_clojerl_utils

Summary

Types

  • opts()

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 its modules entry. The modules listed are resolved by looking for all files with the extension .beam in Dir.