summaryrefslogtreecommitdiff
path: root/src/rebar.hrl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-08-21 12:18:30 -0500
committerTristan Sloughter <t@crashfast.com>2015-08-21 19:04:11 -0500
commitcf5390f01876ff8d9e70cff521740ab0dd805929 (patch)
treece1e3449b76eeaa4126e68dc26bcaca225546a9c /src/rebar.hrl
parent6242c8155499df2fe141772830565b041959c7b9 (diff)
replace use of dict of packages and registry with single ets table
Diffstat (limited to 'src/rebar.hrl')
-rw-r--r--src/rebar.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rebar.hrl b/src/rebar.hrl
index 8a702df..961b8ea 100644
--- a/src/rebar.hrl
+++ b/src/rebar.hrl
@@ -23,8 +23,14 @@
-define(DEFAULT_RELEASE_DIR, "rel").
-define(DEFAULT_CONFIG_FILE, "rebar.config").
-define(DEFAULT_CDN, "https://s3.amazonaws.com/s3.hex.pm/tarballs").
+-define(DEFAULT_HEX_REGISTRY, "https://s3.amazonaws.com/s3.hex.pm/registry.ets.gz").
-define(LOCK_FILE, "rebar.lock").
+-define(PACKAGE_INDEX_VERSION, 3).
+-define(PACKAGE_TABLE, package_index).
+-define(INDEX_FILE, "packages.idx").
+-define(REGISTRY_FILE, "registry").
+
-ifdef(namespaced_types).
-type rebar_dict() :: dict:dict().
-else.