Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Felipe Lema
Krita
Commits
620c2f21
Commit
620c2f21
authored
Jul 17, 2021
by
Felipe Lema
Browse files
diff against master (no origin), print needed formatting change
- also, don't run any clang-format if no c++ files were found
parent
493089ba
Pipeline
#70807
failed with stage
in 1 minute and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
620c2f21
...
...
@@ -13,5 +13,4 @@ clang_format:
-
update-ca-certificates
script
:
-
wget -c --output-document=.clang-format https://invent.kde.org/frameworks/extra-cmake-modules/raw/master/kde-modules/clang-format.cmake
-
git diff-tree --no-commit-id --name-only -r origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME -r $CI_COMMIT_SHA | grep -P '[.](c|cc|cpp|hpp|h)$'| xargs --verbose clang-format-11 -i
-
git diff --exit-code
-
git diff-tree --no-commit-id --name-only -r $CI_MERGE_REQUEST_TARGET_BRANCH_NAME -r $CI_COMMIT_SHA | grep -P '[.](c|cc|cpp|hpp|h)$' | xargs --no-run-if-empty --verbose clang-format-11 --dry-run -Werror
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment