diff options
author | Eduardo Julian | 2020-12-03 02:09:57 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-12-03 02:09:57 -0400 |
commit | 0205e5146b50ab066d152fccda0fc8cef4eef852 (patch) | |
tree | da2d89132da8f09344e26db78d0e43ca1095ee7f /stdlib/source/program/aedifex/command/auto.lux | |
parent | 28c724857d76afdc40b5b036f415cc151eb66263 (diff) |
Detect duplicate files coming from dependencies.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/program/aedifex/command/auto.lux | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/stdlib/source/program/aedifex/command/auto.lux b/stdlib/source/program/aedifex/command/auto.lux index c2df31df5..33115c2e4 100644 --- a/stdlib/source/program/aedifex/command/auto.lux +++ b/stdlib/source/program/aedifex/command/auto.lux @@ -15,6 +15,7 @@ [world [environment (#+ Environment)] [shell (#+ Shell)] + ["." console (#+ Console)] ["." file (#+ Path) ["." watch (#+ Watcher)]]]] ["." // #_ @@ -48,11 +49,11 @@ (def: #export (do! watcher command) (All [a] (-> (Watcher Promise) - (-> Environment (file.System Promise) (Shell Promise) Resolution (Command a)) - (-> Environment (file.System Promise) (Shell Promise) Resolution (Command Any)))) - (function (_ environment fs shell resolution) + (-> (Console Promise) Environment (file.System Promise) (Shell Promise) Resolution (Command a)) + (-> (Console Promise) Environment (file.System Promise) (Shell Promise) Resolution (Command Any)))) + (function (_ console environment fs shell resolution) (function (_ profile) - (with-expansions [<call> ((command environment fs shell resolution) profile)] + (with-expansions [<call> ((command console environment fs shell resolution) profile)] (do {! promise.monad} [targets (|> profile (get@ #///.sources) |