Skip to content

[200_69] xmake.lua打包时添加gfproject.json#698

Merged
da-liii merged 1 commit intomainfrom
da/200_69/fix_gf_missing
Apr 13, 2026
Merged

[200_69] xmake.lua打包时添加gfproject.json#698
da-liii merged 1 commit intomainfrom
da/200_69/fix_gf_missing

Conversation

@da-liii
Copy link
Copy Markdown
Contributor

@da-liii da-liii commented Apr 13, 2026

No description provided.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 13, 2026

Greptile Summary

此 PR 在 xmake.lua 的打包配置中添加了 gfproject.json,使其被纳入源码发布包(srpm/deb/rpm/zip)。gfproject.jsongf 工具链的项目配置文件,包含各子命令(help、source、version、doc 等)的元数据,打包时遗漏该文件会导致安装包中缺少该配置。

Confidence Score: 5/5

变更安全,可以直接合并。

改动仅一行,在已有的 add_sourcefiles 列表末尾追加 gfproject.json,文件本身存在于仓库根目录,逻辑正确,不存在任何风险点。

无需特别关注的文件。

Important Files Changed

Filename Overview
xmake.lua 在 xpack 打包配置中新增一行 add_sourcefiles("gfproject.json"),将根目录的项目配置文件纳入发布包,变更简洁正确。

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["xmake pack 命令"] --> B["xpack goldfish"]
    B --> C["add_sourcefiles(xmake/**)"]
    B --> D["add_sourcefiles(xmake.lua)"]
    B --> E["add_sourcefiles(src/**)"]
    B --> F["add_sourcefiles(goldfish/**)"]
    B --> G["add_sourcefiles(tests/**)"]
    B --> H["add_sourcefiles(tools/**)"]
    B --> I["add_sourcefiles(3rdparty/**)"]
    B --> J["add_sourcefiles(gfproject.json) ✅ 新增"]
    B --> K{"平台判断"}
    K -->|Windows| L["zip 包"]
    K -->|Linux| M["deb / rpm / srpm 包"]
Loading

Reviews (1): Last reviewed commit: "[200_69] xmake.lua打包时添加gfproject.json" | Re-trigger Greptile

@da-liii da-liii merged commit 9ae2b86 into main Apr 13, 2026
5 checks passed
@da-liii da-liii deleted the da/200_69/fix_gf_missing branch April 13, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant