We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9597b96 commit 3e7fac9Copy full SHA for 3e7fac9
tools/format_code.sh
@@ -1,8 +1,8 @@
1
-#!/bin/bash
+#!/bin/bash
2
3
[[ ! $(clang-format --version) ]] && exit 1
4
5
-exclude_list="scene_switcher.hpp"
+exclude_list="scene_switcher.hpp string_map.hpp"
6
7
script_path=${0%/*}
8
tools_root=${script_path%/*}
@@ -15,11 +15,14 @@ fi
15
16
exclude_cmd=
17
for exclude in $exclude_list; do
18
- exclude_cmd+="! -name $exclude"
+ exclude_cmd+="! -name $exclude "
19
done
20
21
files=$(find src/spaced src/android/app/src/main src/desktop -name "*.?pp" $exclude_cmd)
22
23
+echo -e "files: $files"
24
+exit 0
25
+
26
if [[ "$files" == "" ]]; then
27
echo "-- No source files found"
28
exit
0 commit comments