diff options
author | Stephan Vedder <vedder@mbits.info> | 2022-05-10 16:30:14 +0300 |
---|---|---|
committer | Stephan Vedder <vedder@mbits.info> | 2022-05-10 16:30:14 +0300 |
commit | f8e76e2d840f8ded868b6cfd5cc262a5554d42b4 (patch) | |
tree | 8e99971a3478a18835efe0777600a8bd0f7e43e8 | |
parent | 0f80296b5fe908901698efc83f9e8b1021159f6d (diff) |
Fix exclude-regex
-rw-r--r-- | .github/workflows/format.yml | 2 | ||||
-rw-r--r-- | Source/Version/fallback_version.c | 10 | ||||
-rw-r--r-- | Tools/format_source.sh | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f32fd1d2..4287205c 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -13,4 +13,4 @@ jobs: with: clang-format-version: '13' check-path: 'Source' - exclude-regex: '*.hpp'
\ No newline at end of file + exclude-regex: '(.hpp|snprintf.c|triangle.c)'
\ No newline at end of file diff --git a/Source/Version/fallback_version.c b/Source/Version/fallback_version.c index 0edce8f4..d3f72509 100644 --- a/Source/Version/fallback_version.c +++ b/Source/Version/fallback_version.c @@ -20,8 +20,8 @@ // limitations under the License. // //----------------------------------------------------------------------------- -extern const int phoenix_build_id=-1; -const char* phoenix_platform="Unknown"; -const char* phoenix_arch="Unknown"; -const char* phoenix_git_version_string="Unknown"; -const char* phoenix_build_timestamp="0000-00-00 00:00:00 UTC"; +extern const int phoenix_build_id = -1; +const char* phoenix_platform = "Unknown"; +const char* phoenix_arch = "Unknown"; +const char* phoenix_git_version_string = "Unknown"; +const char* phoenix_build_timestamp = "0000-00-00 00:00:00 UTC"; diff --git a/Tools/format_source.sh b/Tools/format_source.sh index eaf90ed3..edeac847 100644 --- a/Tools/format_source.sh +++ b/Tools/format_source.sh @@ -1,3 +1,3 @@ #!/bin/bash -find ./Source/ -iname *.h -o -iname *.cpp -o -iname *.hpp| xargs clang-format -i
\ No newline at end of file +find ./Source/ -iname *.h -o -iname *.cpp | xargs clang-format -i
\ No newline at end of file |