Repository navigation
fix(install-use-family): 缺失 CLI 检查补上 image-use - #26
Merged
Merged
Conversation
image-use 没有 install.sh,CLI 是仓库根目录的单文件,提示改为从安装器已 clone 的 checkout 安装。PowerShell 版同步补上。新增端到端回归测试(假 git + 隔离 PATH)及 CI。 Fixes #25
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #25
install-use-family.sh:CLIS加入 image-use;缺失时提示sudo install "$BASE/image-use/image-use" /usr/local/bin/image-use(与 image-use README 的 Standalone CLI 方式一致),不再生成不存在的 install.sh URL。install-use-family.ps1:缺失检查加入 image-use,并给出py <checkout>\image-use的运行方式。tests/install-use-family.test.sh:用假 git + 隔离 HOME/PATH 端到端运行安装器,覆盖:缺失时被提示、走单文件指引而非 install.sh、其他 CLI 仍是 install.sh 指引、已在 PATH 时不提示。旧代码下该测试失败,新代码通过。.github/workflows/test.yml:PR/main 上跑上述测试,并解析检查 ps1(本机没有 pwsh,ps1 只靠 CI 验证)。