Skip to content

Commit

Permalink
add cpplint.py and "make lint" to run on all c source files
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdonahue authored and shelhamer committed Feb 26, 2014
1 parent 8699d12 commit ba95a87
Show file tree
Hide file tree
Showing 2 changed files with 4,758 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ init:
linecount: clean
cloc --read-lang-def=$(PROJECT).cloc src/$(PROJECT)/

lint:
./scripts/cpplint.py $(CXX_SRCS) $(HXX_SRCS) $(CU_SRCS) \
$(TEST_SRCS) $(TEST_HDRS) $(EXAMPLE_SRCS) \
$(PY$(PROJECT)_SRC) $(MAT$(PROJECT)_SRC)

test: init $(TEST_BINS)

tools: init $(TOOL_BINS)
Expand Down
Loading

0 comments on commit ba95a87

Please sign in to comment.