diff options
| author | ruki <[email protected]> | 2021-01-29 00:39:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-29 00:39:42 +0800 |
| commit | bfd7b2f37b94ab28ddb5aed1e6bb492708c52d1f (patch) | |
| tree | d5b7672e35d59e1bc11aed3a8394ffa2aa7b1f78 /xmake/plugins/show/lists/envs.lua | |
| parent | d4e0263d7452fa502f8e4c2914d22dd186a14950 (diff) | |
add rcfiles
Diffstat (limited to 'xmake/plugins/show/lists/envs.lua')
| -rw-r--r-- | xmake/plugins/show/lists/envs.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/plugins/show/lists/envs.lua b/xmake/plugins/show/lists/envs.lua index 63cad89f7..1f13b4cb1 100644 --- a/xmake/plugins/show/lists/envs.lua +++ b/xmake/plugins/show/lists/envs.lua @@ -22,6 +22,7 @@ import("core.base.text") import("core.base.global") import("core.project.config") +import("core.project.project") -- show all toolchains function main() @@ -33,6 +34,7 @@ function main() XMAKE_LOGFILE = {"Set the log output file path.", os.getenv("XMAKE_LOGFILE")}, XMAKE_ROOT = {"Allow xmake to run under root.", os.getenv("XMAKE_ROOT")}, XMAKE_RAMDIR = {"Set the ramdisk directory.", os.getenv("XMAKE_RAMDIR")}, + XMAKE_RCFILES = {"Set the runtime configuration files.", path.joinenv(project.rcfiles())}, XMAKE_TMPDIR = {"Set the temporary directory.", os.tmpdir()}} local width = 24 for name, env in pairs(envs) do |
