Compare commits
2 commits
c734ede4e6
...
9343842eae
| Author | SHA1 | Date | |
|---|---|---|---|
| 9343842eae | |||
| b83b28af84 |
2 changed files with 0 additions and 6 deletions
5
otto.sh
5
otto.sh
|
|
@ -11,11 +11,6 @@ MODULE_DIR="${TEMPLATE_FILES}/modules"
|
||||||
|
|
||||||
|
|
||||||
format_source_code () {
|
format_source_code () {
|
||||||
if [ ! -f .clang-format]; then
|
|
||||||
echo "Missing '.clang-format' file!"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
#Get a list of all C files
|
#Get a list of all C files
|
||||||
source_c_files=$(find ./src -name '*.c')
|
source_c_files=$(find ./src -name '*.c')
|
||||||
for f in $source_c_files; do
|
for f in $source_c_files; do
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,3 @@ int main(int argc, char **argv)
|
||||||
printf("Hello!\n");
|
printf("Hello!\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue