diff options
author | Eduardo Julian | 2020-10-25 23:16:14 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-10-25 23:16:14 -0400 |
commit | cb8f2b36352948108446c7e3b270faa97589bf7a (patch) | |
tree | 25ebf796bbbd3ad31519745b7276d38f6c19726c /stdlib/source/program/aedifex.lux | |
parent | 72b4eecdc514387ab3b1c105cfd49436c9eb1e8d (diff) |
Some small refactoring.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/program/aedifex.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/program/aedifex.lux b/stdlib/source/program/aedifex.lux index 76db24a47..485277d88 100644 --- a/stdlib/source/program/aedifex.lux +++ b/stdlib/source/program/aedifex.lux @@ -50,7 +50,7 @@ (def: (install! profile) (-> /.Profile (Promise Any)) (do promise.monad - [outcome (/local.install (file.async file.system) profile)] + [outcome (/local.install (file.async file.default) profile)] (wrap (case outcome (#try.Success _) (log! "Successfully installed locally!") @@ -63,14 +63,14 @@ (-> /.Profile (Promise Any)) (do promise.monad [outcome (do (try.with promise.monad) - [cache (/local.all-cached (file.async file.system) + [cache (/local.all-cached (file.async file.default) (set.to-list (get@ #/.dependencies profile)) /dependency.empty) resolution (promise.future (/dependency.resolve-all (set.to-list (get@ #/.repositories profile)) (set.to-list (get@ #/.dependencies profile)) cache))] - (/local.cache-all (file.async file.system) + (/local.cache-all (file.async file.default) resolution))] (wrap (case outcome (#try.Success _) @@ -82,12 +82,12 @@ (program: [{[profile operation] /cli.command}] (do {@ io.monad} - [?profile (/input.read io.monad file.system profile)] + [?profile (/input.read io.monad file.default profile)] (case ?profile (#try.Success profile) (case operation #/cli.POM - (exec (/command/pom.do! (file.async file.system) profile) + (exec (/command/pom.do! (file.async file.default) profile) (wrap [])) #/cli.Dependencies |