summaryrefslogtreecommitdiff
path: root/include/rebar.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/rebar.hrl')
-rw-r--r--include/rebar.hrl20
1 files changed, 9 insertions, 11 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl
index 1b83a9b..bae974d 100644
--- a/include/rebar.hrl
+++ b/include/rebar.hrl
@@ -13,16 +13,14 @@
-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
- 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
-
--define(DEFAULT_LIB_DIRS, ["apps", "libs", "."]).
--define(DEFAULT_DEPS_DIRS, ["deps"]).
+-define(DEFAULT_LIB_DIRS, ["_checkouts", "apps", "libs", "."]).
+-define(DEFAULT_DEPS_DIR, "_deps").
+-define(DEFAULT_PLUGINS_DIR, "_plugins").
-define(DEFAULT_CONFIG_FILE, "rebar.config").
-define(LOCK_FILE, "rebar.lock").
+
+-ifdef(namespaced_types).
+-type rebar_dict() :: dict:dict().
+-else.
+-type rebar_dict() :: dict().
+-endif.