From eb8fa02df7d71435a879de987b3139bb5bffb963 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sun, 27 Jul 2014 18:36:31 -0500 Subject: large refactoring Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands --- include/rebar.hrl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') 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 -- cgit v1.1