summaryrefslogtreecommitdiffhomepage
path: root/bin/build-pkg
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-04 21:21:20 +0900
committerAdam Malczewski <[email protected]>2026-06-04 21:21:20 +0900
commit394f1ed37ce860da6fdc385769bf29f9737105cd (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /bin/build-pkg
parent81a9cdbadf8c9d940d4fe9a2a0de607dee1f5f1a (diff)
downloaddispatch-394f1ed37ce860da6fdc385769bf29f9737105cd.tar.gz
dispatch-394f1ed37ce860da6fdc385769bf29f9737105cd.zip
chore: genesis — remove all files to rebuild from scratch (arch rewrite)
Diffstat (limited to 'bin/build-pkg')
-rwxr-xr-xbin/build-pkg28
1 files changed, 0 insertions, 28 deletions
diff --git a/bin/build-pkg b/bin/build-pkg
deleted file mode 100755
index f8bc8b2..0000000
--- a/bin/build-pkg
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env bash
-# Build the dispatch Arch split package: dispatch + dispatch-systemd + dispatch-s6.
-# One makepkg run produces three .pkg.tar.zst files in packaging/.
-#
-# Usage:
-# bin/build-pkg # build
-# bin/build-pkg --noconfirm # forward extra args to makepkg
-#
-# 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
-
-SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
-PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
-PACKAGING_DIR="$PROJECT_DIR/packaging"
-
-cd "$PACKAGING_DIR"
-makepkg -fd "$@"
-
-echo ""
-echo "Built packages (newest first):"
-ls -1t "$PACKAGING_DIR"/*.pkg.tar.zst 2>/dev/null | head -5