Skip to content

Commit

Permalink
add clang-format to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
raybjork committed Sep 11, 2024
1 parent 71a4908 commit f60c653
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN apt-add-repository -y 'deb http://apt.llvm.org/bookworm/ llvm-toolchain-book
RUN apt-get update
RUN apt-get -y --no-install-recommends install -t llvm-toolchain-bookworm-15 \
clang-15 \
clang-format-15 \
clang-tidy-15

RUN mkdir -p /root/opt/src
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# format the source code
format: src/*.*pp
ls src/*.*pp | xargs clang-format -i --style=file
ls src/*.*pp | xargs clang-format-15 -i --style=file

SANITIZE ?= OFF
universal-robots: format src/*
Expand Down

0 comments on commit f60c653

Please sign in to comment.