We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c82b9f6 commit 9ec648eCopy full SHA for 9ec648e
1 file changed
scripts/build-brxt.sh
@@ -0,0 +1,28 @@
1
+#!/usr/bin/env bash
2
+# Build codegraphagent.brxt — a ZIP archive of the .brxt payload.
3
+#
4
+# Excludes:
5
+# - tests/ (not needed at runtime)
6
+# - engine/ (the engine is downloaded on first use, not bundled)
7
+# - .venv/, __pycache__, .pytest_cache, .git
8
+# - any prior codegraphagent.brxt
9
+
10
+set -euo pipefail
11
12
+cd "$(dirname "$0")/.."
13
+REPO_ROOT="$(pwd)"
14
+OUT="${REPO_ROOT}/codegraphagent.brxt"
15
16
+rm -f "$OUT"
17
18
+# zip preserves directory layout; we just include the files the .brxt format requires.
19
+zip -r "$OUT" \
20
+ manifest.json \
21
+ README.md \
22
+ pyproject.toml \
23
+ src/codegraphagent \
24
+ -x '*/__pycache__/*' '*.pyc'
25
26
+echo
27
+echo "Built: $OUT"
28
+ls -lh "$OUT"
0 commit comments