Skip to content

Commit 7cad8c0

Browse files
committed
Fix Makefile format rule to catch all source files
1 parent 97ce2a6 commit 7cad8c0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,11 @@ format:
155155
ifndef CLANG_FORMAT_PROG
156156
$(error $(newline)$(ccred)clang-format is not available on $$PATH$(ccend))
157157
endif
158-
$(eval DIRS = src/opentime src/opentimelineio)
159-
$(eval DIRS += src/py-opentimelineio/opentime-opentime-bindings)
160-
$(eval DIRS += src/py-opentimelineio/opentimelineio-opentime-bindings)
158+
$(eval DIRS = src/opentime src/opentimelineio src/opentimelineio/algo)
159+
$(eval DIRS += src/py-opentimelineio/opentime-bindings)
160+
$(eval DIRS += src/py-opentimelineio/opentimelineio-bindings)
161161
$(eval FILES_TO_FORMAT = $(wildcard $(addsuffix /*.h, $(DIRS)) $(addsuffix /*.cpp, $(DIRS))))
162+
echo "formatting..." $(FILES_TO_FORMAT)
162163
$(shell clang-format -i -style=file $(FILES_TO_FORMAT))
163164

164165
manifest:

0 commit comments

Comments
 (0)