跳到主要内容

开发工作流

常用命令

dotnet build -v:minimal
dotnet test --filter Category!=Integration -v:minimal
dotnet format --verify-no-changes -v:minimal

WebKitGTK 可用时运行集成测试:

dotnet test tests/UltimateUI.Hosting.Tests/UltimateUI.Hosting.Tests.csproj --filter Category=Integration -v:minimal

更新 shim

当 opcode spec 变化时运行:

make shim

也可以检查 npm 依赖:

npm audit --prefix shim --json

文档站

Docusaurus 文档站位于仓库 docs/ 子目录:

cd docs
npm install
npm run start
npm run build

生产构建输出在 docs/build/