#!/bin/bash
clang-format -i $(find . -name '*.[ch]')

#!/bin/bash
clang-format -i $(find . -name '*.[ch]')

# Check we have no typos.
which misspell 2>/dev/null >/dev/null
if [[ $? -eq 0 ]]; then
    misspell -error `find src -name '*.c' -or -name '*.h'`
fi

Check for typos as part of our hygiene processes
Check for typos as part of our hygiene processes

Signed-off-by: Ikey Doherty <d8d992cf0016e35c2a8339d5e7d44bebd12a2d77@solus-project.com>
