diff options
| author | ruki <[email protected]> | 2026-04-20 17:35:48 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-20 17:35:48 +0800 |
| commit | 55f8d448564f7cc198edb4db506ec7c18ca8f0f6 (patch) | |
| tree | 6822b239d43091d20037a99b6ffa9fd7e449f1db /xmake/plugins/show/list.lua | |
| parent | 3a1b4e1719ba50b259afa27b450f06c39548003d (diff) | |
| parent | 4e3f6b16db88b9c1afad898a7f5dfeaecdfd0f27 (diff) | |
Merge pull request #7490 from xmake-io/show
Export target dependency graph as json/dot
Diffstat (limited to 'xmake/plugins/show/list.lua')
| -rw-r--r-- | xmake/plugins/show/list.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xmake/plugins/show/list.lua b/xmake/plugins/show/list.lua index fb2914964..301048ce2 100644 --- a/xmake/plugins/show/list.lua +++ b/xmake/plugins/show/list.lua @@ -29,3 +29,15 @@ function lists() end return values end + +-- get all info values +function infos() + local values = {} + for _, filepath in ipairs(os.files(path.join(os.scriptdir(), "info", "*.lua"))) do + local name = path.basename(filepath) + if name ~= "basic" and name ~= "target" then + table.insert(values, name) + end + end + return values +end |
