summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoromarkj <omarkj@gmail.com>2014-11-03 13:58:58 -0800
committeromarkj <omarkj@gmail.com>2014-11-03 13:58:58 -0800
commita1d030c9649526422f58e0fb5dae9d33564b395a (patch)
treefeb95f0fec3421ed876e1802584430e18e29f73f /include
parent58f4019fa62a73e335967870f6605182d7386830 (diff)
parenta3ec3a3424dd47e9687d0d2960ef2d3cba6a8f5c (diff)
add help
Diffstat (limited to 'include')
-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.