commit 13f944f33a45546e4185869f051949b0aa5fe130
parent 6b97dc1ec57a76f0b6b5dc7ddb665d6175d442c9
Author: phoebos <ben@bvnf.space>
Date: Mon, 3 Jul 2023 01:08:58 +0100
build: prompt
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bliss/build.lua b/bliss/build.lua
@@ -148,7 +148,7 @@ local function build(env, arg)
end
end
utils.log("Building: explicit:" .. msg_explicit .. (#msg_implicit > 0 and (", implicit:" .. msg_implicit) or ""))
- -- TODO: prompt
+ if #msg_implicit > 0 then utils.prompt(env) end
-- append sys_db
local path = utils.shallowcopy(env.PATH)
diff --git a/bliss/utils.lua b/bliss/utils.lua
@@ -178,7 +178,7 @@ end
function prompt(env, msg)
if msg then log(msg) end
- log("Continue?: Press Enter to continue or Ctrl+C to abort")
+ log("Continue? Press Enter to continue or Ctrl+C to abort")
if env.PROMPT ~= 0 then
io.stdin:read()
end