Files
clr-boot-manager/scripts/update-format.sh
T
Leandro Dorileo d35d26b359 mv scripts to scripts directory
The scripts continous.sh and update_format.sh should live side-by-side
with the other scripts. Also renamed update_format.sh to update-format.sh
to keep naming consistency.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2020-01-06 12:24:52 -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