Add lint rule
This commit is contained in:
parent
e6fd80f87f
commit
4a7b005c64
5 changed files with 10 additions and 4 deletions
5
Makefile
5
Makefile
|
|
@ -1,3 +1,5 @@
|
|||
SRC := $(shell find include src -type f -type f \( -iname "*.cc" -o -iname "*.h" \))
|
||||
|
||||
debug:
|
||||
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
|
||||
@cmake --build build
|
||||
|
|
@ -9,6 +11,9 @@ release-debug:
|
|||
run:
|
||||
@./build/nheko
|
||||
|
||||
lint:
|
||||
@clang-format -i $(SRC)
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue