[glib: 2/13] ci: Move clang-format-diff.py into CI directory




commit 9817ae71d9edc687b8c014f6be17bd606b787cb9
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed May 11 12:43:27 2022 +0100

    ci: Move clang-format-diff.py into CI directory
    
    There’s no point in having it in the root directory when it’s only
    really used for CI. It just clutters up the root.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 clang-format-diff.py => .gitlab-ci/clang-format-diff.py | 0
 .gitlab-ci/run-style-check-diff.sh                      | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/clang-format-diff.py b/.gitlab-ci/clang-format-diff.py
similarity index 100%
rename from clang-format-diff.py
rename to .gitlab-ci/clang-format-diff.py
diff --git a/.gitlab-ci/run-style-check-diff.sh b/.gitlab-ci/run-style-check-diff.sh
index 2bd6f386e6..651f384fae 100755
--- a/.gitlab-ci/run-style-check-diff.sh
+++ b/.gitlab-ci/run-style-check-diff.sh
@@ -9,7 +9,7 @@ ancestor_horizon=28  # days (4 weeks)
 
 source .gitlab-ci/search-common-ancestor.sh
 
-git diff -U0 --no-color "${newest_common_ancestor_sha}" | ./clang-format-diff.py -binary "clang-format-11" 
-p1
+git diff -U0 --no-color "${newest_common_ancestor_sha}" | .gitlab-ci/clang-format-diff.py -binary 
"clang-format-11" -p1
 
 )
 exit_status=$?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]