Skip to content

Commit

Permalink
Makefile: indent .proto with the same cmd as *.cc *.h
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Sep 22, 2023
1 parent 275de83 commit 29f0a5b
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 237 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ depend: all

.PHONY: indent
indent:
clang-format -style="{BasedOnStyle: google, IndentWidth: 8, UseTab: Always, IndentCaseLabels: false, ColumnLimit: 100, AlignAfterOpenBracket: false, AllowShortFunctionsOnASingleLine: false, AlwaysBreakBeforeMultilineStrings: false, AlignEscapedNewlines: Right}" -i -sort-includes $(SRCS_H) $(SRCS_CXX)
clang-format -style="{BasedOnStyle: google, IndentWidth: 4, UseTab: Always, ColumnLimit: 100}" -i $(SRCS_PROTO)
clang-format -style="{BasedOnStyle: google, IndentWidth: 8, UseTab: Always, IndentCaseLabels: false, ColumnLimit: 100, AlignAfterOpenBracket: false, AllowShortFunctionsOnASingleLine: false, AlwaysBreakBeforeMultilineStrings: false, AlignEscapedNewlines: Right}" -i -sort-includes $(SRCS_H) $(SRCS_CXX) $(SRCS_PROTO)

# DO NOT DELETE THIS LINE -- make depend depends on it.

Expand Down
Loading

0 comments on commit 29f0a5b

Please sign in to comment.