osrf / ovc

the Open Vision Computer
Apache License 2.0
198 stars 42 forks source link

Clang format for OVC5 #48

Closed gbalke closed 3 years ago

gbalke commented 3 years ago

This adds formatting to all files. It's pretty easy by running the below command (Stack Overflow).

find . -iname *.h -o -iname *.cpp -o -iname *.hpp| xargs clang-format -i

We can do the same for the rest of the projects if-so-desired.

gbalke commented 3 years ago

I don't think the actions show up here until we merge it in (probably something to do with merging from a fork). See https://github.com/gbalke/ovc/pull/1 to see the check working!