diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-30 15:10:59 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-30 15:10:59 +0300 |
commit | 4a7b005c6420adef50e4321f8ca5d11bc07763ce (patch) | |
tree | d169c1235460bfc4d3f8533268eb5c99fcb56a3b /Makefile | |
parent | e6fd80f87f31d15c2a1ec73a22ba3e76647151f0 (diff) |
Add lint rule
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |