summaryrefslogtreecommitdiffhomepage
path: root/bin/build-pkg
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-02 21:57:06 +0900
committerAdam Malczewski <[email protected]>2026-06-02 21:57:06 +0900
commit4b45d33c256cf580a53054078be6fd7148fa6302 (patch)
tree0f549e08607f083d1f04306ce35e132923d6e3d3 /bin/build-pkg
parentd9f53727845dface3e6d8a84ba2270b1de55482b (diff)
downloaddispatch-4b45d33c256cf580a53054078be6fd7148fa6302.tar.gz
dispatch-4b45d33c256cf580a53054078be6fd7148fa6302.zip
Fix build scripts and deployment port issue
Diffstat (limited to 'bin/build-pkg')
-rwxr-xr-xbin/build-pkg5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build-pkg b/bin/build-pkg
index d257efc..f8bc8b2 100755
--- a/bin/build-pkg
+++ b/bin/build-pkg
@@ -8,6 +8,11 @@
#
# Override frontend build target with VITE_API_URL, e.g.:
# VITE_API_URL="https://api.example.com" bin/build-pkg
+#
+# The patched `cs` code-search binary is reused from an already-installed
+# code-search package instead of being recompiled. Force a fresh clone+build
+# (required after bumping _cs_commit in the PKGBUILD) with:
+# DISPATCH_FORCE_CS_BUILD=1 bin/build-pkg
set -euo pipefail