summaryrefslogtreecommitdiff
path: root/opencode.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-10-29 13:48:43 +0000
committerCoprDistGit <infra@openeuler.org>2026-10-29 13:48:43 +0000
commit33fcf13c51860b0bf07f22e7aedd79e4f318e513 (patch)
tree541db36383370f539e96025bf8a19ba390beffc9 /opencode.spec
parentae7933ba63de9675e328c63fb1a8d3a41a0ebe0d (diff)
automatic import of opencode
Diffstat (limited to 'opencode.spec')
-rw-r--r--opencode.spec8
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