aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_state.erl
diff options
context:
space:
mode:
authorEric <[email protected]>2012-09-18 17:29:26 -0700
committerEric <[email protected]>2012-09-18 17:29:26 -0700
commit8f2670540b6cef76726224801a696cfbed4f3738 (patch)
tree4cd1e463cf3c52eca6626d1caf27fd821d1f402d /src/rcl_state.erl
parent388b5f05a634225dcc746293850948a02951330a (diff)
downloadrelx-8f2670540b6cef76726224801a696cfbed4f3738.tar.gz
relx-8f2670540b6cef76726224801a696cfbed4f3738.tar.bz2
relx-8f2670540b6cef76726224801a696cfbed4f3738.zip
add depsolver directly to the system
This is sub-optimal but I suspect rcl_depsolver is going to migrate away from depsolver in any case.
Diffstat (limited to 'src/rcl_state.erl')
-rw-r--r--src/rcl_state.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rcl_state.erl b/src/rcl_state.erl
index 2dd0b14..7526c1c 100644
--- a/src/rcl_state.erl
+++ b/src/rcl_state.erl
@@ -57,7 +57,7 @@
output_dir :: file:name(),
lib_dirs=[] :: [file:name()],
config_files=[] :: [file:filename()],
- goals=[] :: [depsolver:constraint()],
+ goals=[] :: [rcl_depsolver:constraint()],
providers = [] :: [rcl_provider:t()],
available_apps = [] :: [rcl_app_info:t()],
default_release :: {rcl_release:name(), rcl_release:vsn()},
@@ -110,7 +110,7 @@ output_dir(#state_t{output_dir=OutDir}) ->
lib_dirs(#state_t{lib_dirs=LibDir}) ->
LibDir.
--spec goals(t()) -> [depsolver:constraints()].
+-spec goals(t()) -> [rcl_depsolver:constraints()].
goals(#state_t{goals=TS}) ->
TS.
@@ -210,7 +210,7 @@ format(#state_t{log=LogState, output_dir=OutDir, lib_dirs=LibDirs,
rcl_util:indent(Indent + 1), "config files: \n",
[[rcl_util:indent(Indent + 2), ConfigFile, ",\n"] || ConfigFile <- ConfigFiles],
rcl_util:indent(Indent + 1), "goals: \n",
- [[rcl_util:indent(Indent + 2), depsolver:format_constraint(Goal), ",\n"] || Goal <- Goals],
+ [[rcl_util:indent(Indent + 2), rcl_depsolver:format_constraint(Goal), ",\n"] || Goal <- Goals],
rcl_util:indent(Indent + 1), "output_dir: ", OutDir, "\n",
rcl_util:indent(Indent + 1), "lib_dirs: \n",
[[rcl_util:indent(Indent + 2), LibDir, ",\n"] || LibDir <- LibDirs],