summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 89728889e..4368a7220 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -364,16 +364,12 @@ end
-- get the project file
function project.file()
-
- -- get it
- return xmake._PROJECT_FILE
+ return os.projectfile()
end
-- get the project directory
function project.directory()
-
- -- get it
- return xmake._PROJECT_DIR
+ return os.projectdir()
end
-- get the project info from the given name