publish-local
Rebuild and publish the local ps-bash exe for testing in opencode
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Rebuild and publish the local ps-bash exe for testing in opencode
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run the release-blocking Pester gate (tests/PsBash.Tests.ps1) the reliable way — build cmdlets, refresh beside-module DLLs, isolate PSModulePath from a stale installed PsBash, run Invoke-Pester.
Use (or extend) the shared PsBuild PowerShell-text builder and the OS-interface FileSystemHelpers/RunChildProcess helpers instead of hand-rolling PS strings or platform branches
Add a new bash command to the ps-bash transpiler and runtime
Add new grammar production to the bash parser (new token, AST node, or syntax)
Debug a bash command that produces wrong output or crashes in ps-bash
Audit one bash feature against the QA rubric and write its section into docs/testing/interactive-parity-audit.md
| name | publish-local |
| description | Rebuild and publish the local ps-bash exe for testing in opencode |
| disable-model-invocation | true |
文言:測試→publish release(AOT關)→清 module-* 快取→驗證。或逕用 install-local.ps1。
Rebuild the local ps-bash binary. (Or just pwsh install-local.ps1 — it does build + test + deploy.)
./scripts/test.sh — abort on failure.dotnet publish src/PsBash.Shell -c Release -r win-x64 -p:PublishAot=false --self-contained (AOT off: no vswhere here). → src/PsBash.Shell/bin/Release/net10.0/win-x64/publish/ps-bash.exe.rm -rf "$TEMP/ps-bash/module-*".dotnet run --project src/PsBash.Shell -- -c 'echo hello'. (exe used by ~/work/opencode/ps-code.ps1.)