Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .clang-format
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[submodule "rawdraw"]
path = rawdraw
url = https://github.com/cntools/rawdraw
[submodule "clang-format"]
path = clang-format
url = git@github.com:dreua/colorchord.git
branch = clang-format-only
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ clean :
rm -rf *.o *~ cnping cnping.exe cnping_mac searchnet
rm -rf rawdraw/*.o

format-all:
find . -iname "*.h" -o -iname "*.c" | xargs clang-format -i

# Windows

Expand Down
1 change: 1 addition & 0 deletions clang-format
Submodule clang-format added at 97a023
Loading