From 0205e5146b50ab066d152fccda0fc8cef4eef852 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Thu, 3 Dec 2020 02:09:57 -0400 Subject: Detect duplicate files coming from dependencies. --- stdlib/source/program/aedifex/command/version.lux | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'stdlib/source/program/aedifex/command/version.lux') diff --git a/stdlib/source/program/aedifex/command/version.lux b/stdlib/source/program/aedifex/command/version.lux index 8f26a7fb7..076d2a71d 100644 --- a/stdlib/source/program/aedifex/command/version.lux +++ b/stdlib/source/program/aedifex/command/version.lux @@ -1,16 +1,20 @@ (.module: [lux #* + [control + [concurrency + ["." promise (#+ Promise)]]] [tool [compiler ["." version] ["." language #_ ["#/." lux #_ - ["#" version]]]]]] - ["." /// #_ - [command (#+ Command)] - ["#." action]]) + ["#" version]]]]] + [world + ["." console (#+ Console)]]] + [/// + [command (#+ Command)]]) -(def: #export (do! profile) - (Command Any) - (\ ///action.monad wrap - (log! (version.format language/lux.version)))) +(def: #export (do! console profile) + (-> (Console Promise) (Command Any)) + (console.write-line (version.format language/lux.version) + console)) -- cgit v1.2.3