summaryrefslogtreecommitdiffstats
path: root/ci/style-check.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:22:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 19:22:06 +0000
commit5ecaa3a7f798e0da8bd46ed1757c21c0d6334505 (patch)
tree6947e7c36a88bbb00e0a950ee6b33e2aaf6254ff /ci/style-check.sh
parentAdding upstream version 0.17.0. (diff)
downloadrnp-upstream.tar.xz
rnp-upstream.zip
Adding upstream version 0.17.1.upstream/0.17.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ci/style-check.sh')
-rwxr-xr-xci/style-check.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/ci/style-check.sh b/ci/style-check.sh
deleted file mode 100755
index 683bbcd..0000000
--- a/ci/style-check.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-set -eu
-
-echo Evaluating changes:
-git diff -U0 "$TRAVIS_COMMIT_RANGE"
-echo
-
-diffs=$(git diff -U0 --no-color "$TRAVIS_COMMIT_RANGE" | "$CLANG_FORMAT_DIFF" -p1 -iregex '.*\.[ch]$')
-if [ "$diffs" != "" ]; then
- echo ==== Style changes required ====
- echo "$diffs"
- exit 1
-fi
-