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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user