Repository navigation
docs: 中英文 README 改为写给开发者 - #88
Merged
Merged
Conversation
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.
README 原先写给用户,以功能列表、权限与数据说明为主;现在改为写给开发者,讲清开发环境、构建与运行、架构、测试、调试与参与贡献的方式。功能介绍与使用方法留给项目网站。
改动
swift run启动的可执行文件没有 App 包里的应用图标、更新说明、许可证与本地化的权限说明,更新与系统通知也不启用;需要时用./scripts/build-app.sh生成开发版 App/usr/bin/log:zsh 的log是内建命令,直接执行log stream会失败AGENTS.md中 README 的定位、修改时机与 “不写使用方法” 一条随之改为面向开发者,去掉 “已有的功能见 README”验证
swift run的限制,都与main上的代码一致/usr/bin/log stream与/usr/bin/log show两条命令可以执行;zsh 下直接执行log stream报too many arguments未验证
swift test --filter LocalizationTests没有在本机运行Package.swift的swift-tools-version,没有用对应版本的 Xcode 构建注意