diff options
| author | ruki <[email protected]> | 2024-02-17 00:52:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-17 00:52:52 +0800 |
| commit | 894360ff6656c48aa7286081206eb56989233751 (patch) | |
| tree | 328ac4a886c9cb0d5bbcdfb53d1ede34b3d79a69 /xmake/rules/plugin/compile_commands | |
| parent | 00d82edafcf46694ba87482665cc0b679d77ff99 (diff) | |
improve to save config #4740
Diffstat (limited to 'xmake/rules/plugin/compile_commands')
| -rw-r--r-- | xmake/rules/plugin/compile_commands/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/plugin/compile_commands/xmake.lua b/xmake/rules/plugin/compile_commands/xmake.lua index 0683bbc81..7aefc0862 100644 --- a/xmake/rules/plugin/compile_commands/xmake.lua +++ b/xmake/rules/plugin/compile_commands/xmake.lua @@ -66,7 +66,7 @@ rule("plugin.compile_commands.autoupdate") task.run("project", {kind = "compile_commands", outputdir = outputdir, lsp = lsp}) print("compile_commands.json updated!") end, {dependfile = dependfile, - files = project.allfiles(), + files = table.join(project.allfiles(), config.filepath()), values = sourcefiles}) lockfile:close() end |
