Skip to content

Commit

Permalink
wip: simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarDuran committed Feb 9, 2025
1 parent f5b830a commit 9624c70
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions scripts/validateXMLFiles.bash
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,16 @@ echo -n > $LOGFILE
# validate each path separately and write results in the log
for path in "$@"; do
# emit location
# echo $path
# cd "$path" || { echo "Directory not found: $path"; exit 1; }
# pwd
echo $path
cd "$path" || { echo "Directory not found: $path"; exit 1; }
pwd
# ls -la
# git status
# git_root_c=$(git rev-parse --show-toplevel 2>/dev/null)
# prefix_c=$(git rev-parse --show-prefix 2>/dev/null)
# echo $git_root_c
# echo $prefix_c
# echo $git_root_c"/.git"
git_root_c=$(git rev-parse --show-toplevel 2>/dev/null)
prefix_c=$(git rev-parse --show-prefix 2>/dev/null)
echo $git_root_c
echo $prefix_c
echo $git_root_c"/.git"
collected_xml_files=$(list_xml_files_$METHOD $path)
echo $collected_xml_files
$collected_xml_files | $XARGS xmllint --schema $SCHEMA --noout >> $LOGFILE 2>&1
Expand Down

0 comments on commit 9624c70

Please sign in to comment.