Codebase list i3-gaps / ff77b67
switch from clang-format-6 to clang-format-9 (#4121) No changes required, but this unbreaks our CI Michael Stapelberg authored 3 years ago GitHub committed 3 years ago
5 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
22 set -e
33 set -x
44
5 clang-format-6.0 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
5 clang-format-9 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)
1212 # (3608 kB/s)). Hence, let’s stick with httpredir.debian.org (default) for now.
1313
1414 # Install mk-build-deps (for installing the i3 build dependencies),
15 # clang and clang-format-6.0 (for checking formatting and building with clang),
15 # clang and clang-format-9 (for checking formatting and building with clang),
1616 # lintian (for checking spelling errors),
1717 RUN linux32 apt-get update && \
1818 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1919 dpkg-dev devscripts git equivs \
20 build-essential clang clang-format-6.0 \
20 build-essential clang clang-format-9 \
2121 lintian && \
2222 rm -rf /var/lib/apt/lists/*
2323
1212 # (3608 kB/s)). Hence, let’s stick with httpredir.debian.org (default) for now.
1313
1414 # Install mk-build-deps (for installing the i3 build dependencies),
15 # clang and clang-format-6.0 (for checking formatting and building with clang),
15 # clang and clang-format-9 (for checking formatting and building with clang),
1616 # lintian (for checking spelling errors),
1717 RUN linux32 apt-get update && \
1818 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1919 dpkg-dev devscripts git equivs \
20 build-essential clang clang-format-6.0 \
20 build-essential clang clang-format-9 \
2121 lintian && \
2222 rm -rf /var/lib/apt/lists/*
2323
1212 # (3608 kB/s)). Hence, let’s stick with httpredir.debian.org (default) for now.
1313
1414 # Install mk-build-deps (for installing the i3 build dependencies),
15 # clang and clang-format-6.0 (for checking formatting and building with clang),
15 # clang and clang-format-9 (for checking formatting and building with clang),
1616 # lintian (for checking spelling errors),
1717 # test suite dependencies (for running tests)
1818 RUN apt-get update && \
1919 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
2020 dpkg-dev devscripts git equivs \
21 build-essential clang clang-format-6.0 \
21 build-essential clang clang-format-9 \
2222 lintian && \
2323 rm -rf /var/lib/apt/lists/*
2424
1010 # (3608 kB/s)). Hence, let’s stick with httpredir.debian.org (default) for now.
1111
1212 # Install mk-build-deps (for installing the i3 build dependencies),
13 # clang and clang-format-6.0 (for checking formatting and building with clang),
13 # clang and clang-format-9 (for checking formatting and building with clang),
1414 # lintian (for checking spelling errors),
1515 # test suite dependencies (for running tests)
1616 RUN apt-get update && \
1717 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
1818 dpkg-dev devscripts git equivs \
19 build-essential clang clang-format-6.0 \
19 build-essential clang clang-format-9 \
2020 lintian \
2121 libmodule-install-perl libanyevent-perl libextutils-pkgconfig-perl xcb-proto cpanminus xvfb xserver-xephyr xauth libinline-perl libinline-c-perl libxml-simple-perl libmouse-perl libmousex-nativetraits-perl libextutils-depends-perl perl libtest-deep-perl libtest-exception-perl libxml-parser-perl libtest-simple-perl libtest-fatal-perl libdata-dump-perl libtest-differences-perl libxml-tokeparser-perl libipc-run-perl libxcb-xtest0-dev libx11-xcb-perl libjson-xs-perl x11-xserver-utils && \
2222 rm -rf /var/lib/apt/lists/*