From f0e09cab86c28e03226b7998ad3c8930208b07a2 Mon Sep 17 00:00:00 2001 From: light7734 Date: Tue, 15 Jul 2025 16:18:51 +0330 Subject: [PATCH] testing... --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 49164b5..0e37638 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,23 +17,23 @@ steps: - | set -e clang-format --version - has_fomatting_issues=0 + HAS_ISSUES=0 for file in $(find ./modules -name '*.?pp'); do echo "Checking format for $file" if ! clang-format --dry-run --Werror "$file"; then echo "❌ Formatting issue detected in $file" - has_fomatting_issues=1 + HAS_ISSUES=1 fi done - if [ "$has_fomatting_issues" -eq 0 ]; then + if [ "$HAS_ISSUES" -eq 0 ]; then echo "✅ All files are properly formatted! Well done! ^~^" fi echo "Code reached here..." - echo "Has formatting issues: ${has_fomatting_issues}" - exit ${has_fomatting_issues} + echo "Has formatting issues: " $HAS_ISSUES" + exit $HAS_ISSUES --- kind: pipeline