summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-24 09:55:50 +0800
committerruki <[email protected]>2022-04-24 09:55:50 +0800
commit68f60cdd350c606ebb07dd79ccbfd388a47b4304 (patch)
treec7fdb89e11e0b1de13171dd9cf6649c6800717bf
parentfc11ca498e4e656a321c1bae35deba3d47f6fc95 (diff)
update tips
-rw-r--r--xmake/actions/install/main.lua2
-rw-r--r--xmake/actions/run/main.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/install/main.lua b/xmake/actions/install/main.lua
index 614678cf7..2504f3338 100644
--- a/xmake/actions/install/main.lua
+++ b/xmake/actions/install/main.lua
@@ -57,7 +57,7 @@ function _check_targets(targetname)
-- there are targets that have not yet been built?
if #targetnames > 0 then
- raise("please run `$xmake [target]` to build the following targets first:\n -> " .. table.concat(targetnames, '\n -> '))
+ raise("please run `$xmake build [target]` to build the following targets first:\n -> " .. table.concat(targetnames, '\n -> '))
end
end
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua
index 61c5b02ea..153011b73 100644
--- a/xmake/actions/run/main.lua
+++ b/xmake/actions/run/main.lua
@@ -175,7 +175,7 @@ function _check_targets(targetname, group_pattern)
-- there are targets that have not yet been built?
if #targetnames > 0 then
- raise("please run `$xmake [target]` to build the following targets first:\n -> " .. table.concat(targetnames, '\n -> '))
+ raise("please run `$xmake build [target]` to build the following targets first:\n -> " .. table.concat(targetnames, '\n -> '))
end
end