Current section
Files
Jump to
Current section
Files
src/tasks/bo_tasks.erl
-module(bo_tasks).
-export([first/0, all/0]).
-spec first() -> module().
first() -> application:get_env(beam_olympics, first_task, hd(all())).
%% @todo dynamically compute DefaultList
-spec all() -> [module()].
all() ->
DefaultList =
[ bo_first_task
, bo_henchmen
, bo_awesomeness
, bo_missing_operations
],
application:get_env(beam_olympics, all_tasks, DefaultList).