summaryrefslogtreecommitdiff
path: root/xmake/modules/cli/amalgamate.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-03-21 23:03:29 +0800
committerruki <[email protected]>2025-04-08 15:31:54 +0800
commit741da62196bcb64c88e386f1a769462211c63b4e (patch)
treec381546976a29ac9a642a18e241bc7de9874d7a3 /xmake/modules/cli/amalgamate.lua
parent7e949212c4aff661f6dfd6234af7fd021a8568e3 (diff)
add queue and improve graph
Diffstat (limited to 'xmake/modules/cli/amalgamate.lua')
-rw-r--r--xmake/modules/cli/amalgamate.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/cli/amalgamate.lua b/xmake/modules/cli/amalgamate.lua
index 8c7ec6fd7..d0a5ba40c 100644
--- a/xmake/modules/cli/amalgamate.lua
+++ b/xmake/modules/cli/amalgamate.lua
@@ -96,7 +96,7 @@ function _generate_file(target, inputpaths, outputpath, uniqueid)
_generate_include_graph(target, inputpaths, gh, {})
-- sort file paths and remove root path
- local filepaths = gh:topological_sort()
+ local filepaths = gh:topo_sort()
table.remove(filepaths, 1)
-- generate amalgamate file