Skip to content

Commit

Permalink
Add running codespell if codespell exists (TriBITSPub#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlettroscoe committed Mar 30, 2023
1 parent d5df46e commit f6c2ad6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ if (PYTHON_EXECUTABLE)
doc
)
endif()

add_subdirectory(codespell)
8 changes: 8 additions & 0 deletions test/codespell/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
find_program(CODESPELL_EXEC codespell)

tribits_add_advanced_test(codespell
OVERALL_WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
SKIP_CLEAN_OVERALL_WORKING_DIRECTORY
TEST_0
CMND ${CODESPELL_EXEC}
)

0 comments on commit f6c2ad6

Please sign in to comment.