Files
clr-boot-manager/update_format.sh
T
Ikey Doherty 23793ddefc update_format: Never modify libnica files
These files should only be handled upstream in the nica repository,
never should be have a local dirty submodule tree.

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2017-01-11 09:21:43 -08:00

10 lines
221 B
Bash
Executable File

#!/bin/bash
set -e
clang-format -i $(find . -not -path '*/libnica/*' -name '*.[ch]')
# Check we have no typos.
which misspell 2>/dev/null >/dev/null
if [[ $? -eq 0 ]]; then
misspell -error `find . -name '*.[ch]'`
fi