switch to clang-format-6.0 (#3533)

This commit is contained in:
Michael Stapelberg 2018-11-28 17:38:16 +01:00 committed by GitHub
parent a080551f26
commit 7ade46c61f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 10 deletions

View File

@ -3,4 +3,4 @@
set -e set -e
set -x set -x
clang-format-4.0 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false) clang-format-6.0 -i $(find . -name "*.[ch]" | tr '\n' ' ') && git diff --exit-code || (echo 'Code was not formatted using clang-format!'; false)

View File

@ -13,12 +13,12 @@ RUN echo 'APT::Acquire::Retries "5";' > /etc/apt/apt.conf.d/80retry
# (3608 kB/s)). Hence, lets stick with httpredir.debian.org (default) for now. # (3608 kB/s)). Hence, lets stick with httpredir.debian.org (default) for now.
# Install mk-build-deps (for installing the i3 build dependencies), # Install mk-build-deps (for installing the i3 build dependencies),
# clang and clang-format-4.0 (for checking formatting and building with clang), # clang and clang-format-6.0 (for checking formatting and building with clang),
# lintian (for checking spelling errors), # lintian (for checking spelling errors),
RUN linux32 apt-get update && \ RUN linux32 apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
dpkg-dev devscripts git equivs \ dpkg-dev devscripts git equivs \
clang clang-format-4.0 \ clang clang-format-6.0 \
lintian && \ lintian && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

View File

@ -13,12 +13,12 @@ RUN echo 'APT::Acquire::Retries "5";' > /etc/apt/apt.conf.d/80retry
# (3608 kB/s)). Hence, lets stick with httpredir.debian.org (default) for now. # (3608 kB/s)). Hence, lets stick with httpredir.debian.org (default) for now.
# Install mk-build-deps (for installing the i3 build dependencies), # Install mk-build-deps (for installing the i3 build dependencies),
# clang and clang-format-4.0 (for checking formatting and building with clang), # clang and clang-format-6.0 (for checking formatting and building with clang),
# lintian (for checking spelling errors), # lintian (for checking spelling errors),
RUN linux32 apt-get update && \ RUN linux32 apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
dpkg-dev devscripts git equivs \ dpkg-dev devscripts git equivs \
clang clang-format-4.0 \ clang clang-format-6.0 \
lintian && \ lintian && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

View File

@ -13,13 +13,13 @@ RUN echo 'APT::Acquire::Retries "5";' > /etc/apt/apt.conf.d/80retry
# (3608 kB/s)). Hence, lets stick with httpredir.debian.org (default) for now. # (3608 kB/s)). Hence, lets stick with httpredir.debian.org (default) for now.
# Install mk-build-deps (for installing the i3 build dependencies), # Install mk-build-deps (for installing the i3 build dependencies),
# clang and clang-format-4.0 (for checking formatting and building with clang), # clang and clang-format-6.0 (for checking formatting and building with clang),
# lintian (for checking spelling errors), # lintian (for checking spelling errors),
# test suite dependencies (for running tests) # test suite dependencies (for running tests)
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
dpkg-dev devscripts git equivs \ dpkg-dev devscripts git equivs \
clang clang-format-4.0 \ clang clang-format-6.0 \
lintian && \ lintian && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

View File

@ -11,13 +11,13 @@ RUN echo 'APT::Acquire::Retries "5";' > /etc/apt/apt.conf.d/80retry
# (3608 kB/s)). Hence, lets stick with httpredir.debian.org (default) for now. # (3608 kB/s)). Hence, lets stick with httpredir.debian.org (default) for now.
# Install mk-build-deps (for installing the i3 build dependencies), # Install mk-build-deps (for installing the i3 build dependencies),
# clang and clang-format-4.0 (for checking formatting and building with clang), # clang and clang-format-6.0 (for checking formatting and building with clang),
# lintian (for checking spelling errors), # lintian (for checking spelling errors),
# test suite dependencies (for running tests) # test suite dependencies (for running tests)
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
dpkg-dev devscripts git equivs \ dpkg-dev devscripts git equivs \
clang clang-format-4.0 \ clang clang-format-6.0 \
lintian \ lintian \
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 && \ 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 && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*