Unverified Commit a3a9a9fa authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

change style-check target to not be predecated on unit test (#1401)

parent 861847d5
...@@ -189,6 +189,10 @@ if (NOT DEFINED NGRAPH_TBB_ENABLE) ...@@ -189,6 +189,10 @@ if (NOT DEFINED NGRAPH_TBB_ENABLE)
set(NGRAPH_TBB_ENABLE ${NGRAPH_CPU_ENABLE}) set(NGRAPH_TBB_ENABLE ${NGRAPH_CPU_ENABLE})
endif() endif()
add_custom_target(style-check
COMMAND ${PROJECT_SOURCE_DIR}/maint/check-code-format.sh
)
#----------------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------------
# enable or disable output from NGRAPH_DEBUG statements # enable or disable output from NGRAPH_DEBUG statements
#----------------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------------
......
...@@ -145,10 +145,6 @@ if (NGRAPH_GPU_ENABLE) ...@@ -145,10 +145,6 @@ if (NGRAPH_GPU_ENABLE)
target_link_libraries(unit-test gpu_backend) target_link_libraries(unit-test gpu_backend)
endif() endif()
add_custom_target(style-check
COMMAND ${PROJECT_SOURCE_DIR}/maint/check-code-format.sh
)
add_custom_target(unit-test-check add_custom_target(unit-test-check
COMMAND ${PROJECT_BINARY_DIR}/test/unit-test \${ARGS} COMMAND ${PROJECT_BINARY_DIR}/test/unit-test \${ARGS}
DEPENDS unit-test DEPENDS unit-test
......
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