From 608635444ae0cfe42924111fe9b856730fa4fdc3 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 23 Feb 2018 00:59:55 +0800 Subject: improve project dir tips --- xmake/core/main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmake/core/main.lua b/xmake/core/main.lua index a38a4fc21..3455c5f64 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -196,7 +196,8 @@ function main._init() -- enter the project directory if os.isdir(os.projectdir()) then if path.translate(os.projectdir()) ~= path.translate(os.curdir()) then - utils.warning("you are working in the project directory(%s)!", os.projectdir()) + utils.warning([[You are working in the project directory(%s) and you can also +force to build in current directory via run `xmake -P .`]], os.projectdir()) end xmake._WORKING_DIR = os.cd(os.projectdir()) else -- cgit v1.3.1