Add validate_all.sh script for comprehensive testing

- Create validate_all.sh to run all validation checks
- Provide clear summary with pass/fail counts
- Update scripts/README.md with validate_all documentation
- Fix logging.sh path resolution for sourcing

Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-03 21:36:49 +00:00
parent e8d91a717c
commit 4bff6c4ad7
3 changed files with 187 additions and 3 deletions

View File

@@ -35,8 +35,14 @@
set -eu
# Resolve script directory properly
SCRIPT_LIB_DIR="$(cd "$(dirname "$0")" && pwd)"
# Resolve script directory properly - works when sourced
if [ -n "${SCRIPT_DIR:-}" ]; then
# Already set by caller
SCRIPT_LIB_DIR="${SCRIPT_DIR}/lib"
else
# Determine from this file's location
SCRIPT_LIB_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
fi
# Shared utilities
. "${SCRIPT_LIB_DIR}/common.sh"