From 51f1cf4aae5a22fe8974edcdf10da4e8a7b05255 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 20 Sep 2014 09:01:03 -0500 Subject: install plugins to plugins/ --- include/rebar.hrl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/rebar.hrl b/include/rebar.hrl index 1b83a9b..8d21626 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -23,6 +23,7 @@ opts :: list()}). % The list of options that the task requires/understands -define(DEFAULT_LIB_DIRS, ["apps", "libs", "."]). --define(DEFAULT_DEPS_DIRS, ["deps"]). +-define(DEFAULT_DEPS_DIR, "deps"). +-define(DEFAULT_PLUGINS_DIR, "plugins"). -define(DEFAULT_CONFIG_FILE, "rebar.config"). -define(LOCK_FILE, "rebar.lock"). -- cgit v1.1 From 6f9ea13dd423d7ff0307265140496fb36c62d924 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 20 Sep 2014 09:08:24 -0500 Subject: move deps and plugins to _ prefixed --- include/rebar.hrl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/rebar.hrl b/include/rebar.hrl index 8d21626..130182f 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -23,7 +23,7 @@ opts :: list()}). % The list of options that the task requires/understands -define(DEFAULT_LIB_DIRS, ["apps", "libs", "."]). --define(DEFAULT_DEPS_DIR, "deps"). --define(DEFAULT_PLUGINS_DIR, "plugins"). +-define(DEFAULT_DEPS_DIR, "_deps"). +-define(DEFAULT_PLUGINS_DIR, "_plugins"). -define(DEFAULT_CONFIG_FILE, "rebar.config"). -define(LOCK_FILE, "rebar.lock"). -- cgit v1.1 From 6356112cbbb32b09dd2f94ea856c3cbd32b1c085 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sun, 21 Sep 2014 09:19:38 -0500 Subject: more dialyzer fun. no likey opaque types --- include/rebar.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/rebar.hrl b/include/rebar.hrl index 130182f..92fdbe9 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -19,7 +19,7 @@ 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 + example :: string() | undefined, % An example of the task usage opts :: list()}). % The list of options that the task requires/understands -define(DEFAULT_LIB_DIRS, ["apps", "libs", "."]). -- cgit v1.1 From 6efdd8cbfea393e8b9c2a8b9029b53f25aa0cef4 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Thu, 25 Sep 2014 13:38:33 -0500 Subject: fix namespaced types for pre-17 otp --- include/rebar.hrl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/rebar.hrl b/include/rebar.hrl index 92fdbe9..7f85892 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -27,3 +27,9 @@ -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. -- cgit v1.1 From b37a5ae611aaf6b84a046fbe716f40c2aa8c75d8 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Fri, 3 Oct 2014 06:33:33 -0500 Subject: move providers to separate app --- include/rebar.hrl | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include') diff --git a/include/rebar.hrl b/include/rebar.hrl index 7f85892..4263fb9 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -13,15 +13,6 @@ -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() | undefined, % 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_DIR, "_deps"). -define(DEFAULT_PLUGINS_DIR, "_plugins"). -- cgit v1.1 From f1a0249bcf12f08b7aae21aec373fec4cd583dbe Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Mon, 13 Oct 2014 16:23:50 -0500 Subject: preliminary _checkouts/ support --- include/rebar.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/rebar.hrl b/include/rebar.hrl index 4263fb9..bae974d 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -13,7 +13,7 @@ -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))). --define(DEFAULT_LIB_DIRS, ["apps", "libs", "."]). +-define(DEFAULT_LIB_DIRS, ["_checkouts", "apps", "libs", "."]). -define(DEFAULT_DEPS_DIR, "_deps"). -define(DEFAULT_PLUGINS_DIR, "_plugins"). -define(DEFAULT_CONFIG_FILE, "rebar.config"). -- cgit v1.1