summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-07-27 18:36:31 -0500
committerTristan Sloughter <t@crashfast.com>2014-08-16 07:22:27 -0500
commiteb8fa02df7d71435a879de987b3139bb5bffb963 (patch)
treee3ac360353b37811be1a3775d986e4a3ceab16e2 /include
parent19c215ee9fe0726a1983b36f4f8bcc21d42a5ef8 (diff)
large refactoring
Removed separate compilers Resolves apps to build Finds avail deps before pulling/building Includes relx Simplifies build commands
Diffstat (limited to 'include')
-rw-r--r--include/rebar.hrl10
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