diff options
Diffstat (limited to 'opencode.spec')
| -rw-r--r-- | opencode.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/opencode.spec b/opencode.spec index a461d65..ba620f3 100644 --- a/opencode.spec +++ b/opencode.spec @@ -109,6 +109,14 @@ rm -rf packages/*/test packages/*/tests packages/*/e2e packages/*/test-browser \ packages/*/*/README* sdks github nix infra specs .github README* \ AGENTS.md CONTRIBUTING.md STATS.md CONTEXT.md perf screenshot-*.png +# packages/script (@opencode-ai/script) reads .github/TEAM_MEMBERS at module +# load time (top-level await), so the pruning above must leave that file in +# place; otherwise `bun run script/build.ts` fails with ENOENT. Only release +# tooling consumes the team list, so a stub is enough for the build. +mkdir -p .github +printf '# build stub: team list is only used by upstream release tooling\n' \ + > .github/TEAM_MEMBERS + python3 - <<'PY' import json import os |
