summaryrefslogtreecommitdiff
path: root/bin/tool
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-08-14 11:54:52 -0600
committermo khan <mo@mokhan.ca>2025-08-14 11:54:52 -0600
commit9e55e65ac5eb6ff645880ee253a33f6ab138b615 (patch)
tree3a55344b8c589f52687200c0beb5cd92688014fa /bin/tool
parent3f228b16c758d377566f11d2d328d1ccf658a2ad (diff)
Fix the broken build by running pg as a separate container.
Improve shell scripts and remove /sparkles/restore endpoint - Add error handling and debugging to shell scripts with `set -e` and `DEBUG` flag - Ensure scripts run from project root with `cd "$(dirname "$0")/.."` - Remove `/sparkles/restore` endpoint from public routes and Envoy config - Add Postgres test container support for integration tests - Update CI configuration with newer Runway version and improved test setup - Simplify Makefile by removing redundant commands ------- :robot: Commit message generated by GitLab Duo
Diffstat (limited to 'bin/tool')
-rwxr-xr-xbin/tool3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/tool b/bin/tool
index 7b46bce..2a2bd80 100755
--- a/bin/tool
+++ b/bin/tool
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+[ -n "$DEBUG" ] && set -x
+
+cd "$(dirname "$0")/.."
tool_bin=$(go tool -n "$1")