Skip to content

建议:mcpp build/test/run 手动刷新包索引而不是自动刷新 #315

Description

@ZheFeng7110

mcpp build/run/test 时总是会自动刷新包索引,这需要网络连接。在网络环境较差的情况下,会等待较长的时间。

因此建议修改刷新包索引的逻辑:仅在 第一次运行/依赖更新 的情况下刷新包索引并下载包,之后需要显式输入参数(例如 mcpp build/test/run --refresh-pkg 或者单独增加一个子命令,如 mcpp refreshpkg)时,才会刷新包索引。这样在开发时不用频繁等待网络连接。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions