mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 10:35:50 +00:00
skip import test file
This commit is contained in:
@@ -8,6 +8,11 @@ files_changed=$(git diff --name-only --relative HEAD~1 HEAD)
|
|||||||
|
|
||||||
# Loop through each file and search for the patterns
|
# Loop through each file and search for the patterns
|
||||||
for file in $files_changed; do
|
for file in $files_changed; do
|
||||||
|
# Skip if the file is Import_test.cpp (exact filename match regardless of path)
|
||||||
|
if [[ "$(basename "$file")" == "Import_test.cpp" ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
# Construct the absolute path
|
# Construct the absolute path
|
||||||
absolute_path="$repo_root/$file"
|
absolute_path="$repo_root/$file"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user