Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit c59a897

Browse files
authored
Pin cmake_format to version 0.4.5. (#317)
Version 0.5.1 changes the formatting (which breaks "check format" on travis) but also breaks add_library(ALIAS) so we can't upgrade. Upstream issue: https://github.com/cheshirekow/cmake_format/issues/111
1 parent 7c3607b commit c59a897

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/docker-format/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ FROM ubuntu:cosmic
33
RUN apt update && \
44
apt install -y clang-format golang git python-pip && \
55
go get -v github.com/bazelbuild/buildtools/buildifier && \
6-
pip install cmake_format
6+
pip install cmake_format==0.4.5
77

88
CMD ["/bin/bash"]

tools/travis/check_format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ if ! which buildifier >/dev/null; then
2121
go get -v github.com/bazelbuild/buildtools/buildifier
2222
fi
2323
# Install cmake-format.
24-
pip install --user cmake_format
24+
pip install --user cmake_format==0.4.5
2525
# Check format.
2626
tools/format.sh

0 commit comments

Comments
 (0)