diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 55bd6f0..e7a3a61 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -6,6 +6,8 @@ name: Clang-Format on: push: branches-ignore: [ main, stable ] + pull_request: + branches: [ main, stable ] # Defines the main job where we checkout our code, run clang-format # and commit changes diff --git a/cmake/clang-format.cmake b/cmake/clang-format.cmake index 1d5efe7..b6d8136 100644 --- a/cmake/clang-format.cmake +++ b/cmake/clang-format.cmake @@ -7,8 +7,8 @@ set(CLANG_FORMAT "clang-format" CACHE STRING "Clang format binary") message(STATUS "Setting clang-format test binary to '${CLANG_FORMAT}' (use -DCLANG_FORMAT to change)") -# Get all project files -file(GLOB_RECURSE ALL_SOURCE_FILES *.cpp *.h) +# Get all project files (only within package, ignore submodules) +file(GLOB_RECURSE ALL_SOURCE_FILES package/*.cpp package/*.h) # Using --style=Google uses the built in rules of # the clang format binary. This is slightly diff --git a/doc/HSF-Bronze_Project-CD7F32.svg b/doc/HSF-Bronze_Project-CD7F32.svg deleted file mode 100644 index 68cc0f2..0000000 --- a/doc/HSF-Bronze_Project-CD7F32.svg +++ /dev/null @@ -1 +0,0 @@ -HSF: Bronze ProjectHSFBronze Project \ No newline at end of file