mirror of
https://github.com/clearlinux/clr-boot-manager.git
synced 2026-08-23 06:27:48 +00:00
d35d26b359
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>
10 lines
221 B
Bash
Executable File
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
|