diff options
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 93f910c48..6616c2849 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -700,18 +700,24 @@ end -- get the program directory function os.programdir() - - -- get it return xmake._PROGRAM_DIR end -- get the program file function os.programfile() - - -- get it return xmake._PROGRAM_FILE end +-- get the project directory +function os.projectdir() + return xmake._PROJECT_DIR +end + +-- get the project file +function os.projectfile() + return xmake._PROJECT_FILE +end + -- get version info function os.versioninfo() |
