From f7a759362463117135bb08dfae8dabd22377462a Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Tue, 5 Nov 2024 10:40:00 +0000 Subject: [PATCH] remove dockerfile and clang-format-ignore --- .github/dependabot.yml | 7 +------ Dockerfile | 12 ------------ clang-format-ignore.txt | 0 tools/run-clangcldocker.sh | 2 +- 4 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 Dockerfile delete mode 100644 clang-format-ignore.txt diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1cfc22ead..bba66c6d3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,11 +7,6 @@ updates: schedule: interval: monthly - - package-ecosystem: docker - directory: / - schedule: - interval: monthly - - package-ecosystem: cargo directory: /benchmarks/competitors/servo-url schedule: @@ -20,4 +15,4 @@ updates: - package-ecosystem: pip directory: /tools/release schedule: - interval: monthly \ No newline at end of file + interval: monthly diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index d19af2ad6..000000000 --- a/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM debian:12-slim@sha256:ad86386827b083b3d71139050b47ffb32bbd9559ea9b1345a739b14fec2d9ecf - -RUN apt-get update && apt-get install -y \ - apt-transport-https \ - gcc \ - clang \ - clang-tools \ - cmake - -WORKDIR /repo - -CMD ["bash", "-c", "cmake -B build && cmake --build build && cd build && ctest --output-on-failure"] diff --git a/clang-format-ignore.txt b/clang-format-ignore.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/tools/run-clangcldocker.sh b/tools/run-clangcldocker.sh index c6881acde..5f6c0713d 100755 --- a/tools/run-clangcldocker.sh +++ b/tools/run-clangcldocker.sh @@ -3,7 +3,7 @@ set -e COMMAND=$* SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" MAINSOURCE=$SCRIPTPATH/.. -ALL_ADA_FILES=$(cd $MAINSOURCE && git ls-tree --full-tree --name-only -r HEAD | grep -e ".*\.\(c\|h\|cc\|cpp\|hh\)\$" | grep -vFf clang-format-ignore.txt) +ALL_ADA_FILES=$(cd $MAINSOURCE && git ls-tree --full-tree --name-only -r HEAD | grep -e ".*\.\(c\|h\|cc\|cpp\|hh\)\$") if clang-format-17 --version 2>/dev/null | grep -qF 'version 17.'; then cd $MAINSOURCE; clang-format-17 --style=file --verbose -i "$@" $ALL_ADA_FILES