diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rebar.hrl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl index b19fdd3..a905569 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -12,3 +12,13 @@ -define(ERROR(Str, Args), rebar_log:log(standard_error, error, Str, Args)). -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))). + +-record(provider, {name :: atom(), % The 'user friendly' name of the task + provider_impl :: atom(), % The implementation of the task, maybe fun or + provides :: atom(), + bare :: boolean(), % Indicates whether a build config is needed + deps :: [atom()], % The list of dependencies + desc :: string(), % The description for the task + short_desc :: string(), % A one line short description of the task + example :: string(), % An example of the task usage + opts :: list()}). % The list of options that the task requires/understands |