Commit ae085010 authored by Christian Convey's avatar Christian Convey Committed by Adam Procter

Adds style-checking to `check` make target. (#162)

parent f71566c2
......@@ -62,6 +62,18 @@ target_link_libraries(unit-test ${CMAKE_DL_LIBS})
add_dependencies(unit-test ngraph libgtest eigen)
add_custom_target(check
add_custom_target(style-check
COMMAND ${PROJECT_SOURCE_DIR}/maint/check-code-format.sh
)
add_custom_target(unit-test-check
COMMAND ${PROJECT_BINARY_DIR}/test/unit-test \${ARGS}
DEPENDS unit-test)
DEPENDS unit-test
)
add_custom_target(check
DEPENDS
style-check
unit-test-check
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment