summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-04-22 15:24:27 (GMT)
committerGitHub <noreply@github.com>2022-04-22 15:24:27 (GMT)
commit974aefb8416d78b0687a54e5f72f21d0ca72ae2d (patch)
tree0fe4e4327b95c38f362ceace220d59cb08aa88a3 /bin
parentf5042fd4d3549e9e3453ab99d81bb46f1688b240 (diff)
downloadhdf5-974aefb8416d78b0687a54e5f72f21d0ca72ae2d.zip
hdf5-974aefb8416d78b0687a54e5f72f21d0ca72ae2d.tar.gz
hdf5-974aefb8416d78b0687a54e5f72f21d0ca72ae2d.tar.bz2
Add java clang-format (#1672)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/format_source2
-rwxr-xr-xbin/format_source_patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/format_source b/bin/format_source
index dce34e5..227d22a 100755
--- a/bin/format_source
+++ b/bin/format_source
@@ -20,7 +20,7 @@ find . \( -type d -path ./config -prune -and -not -path ./config \) \
-or -name H5version.h \
-or -name H5overflow.h \
\) \) \
- -and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp \) \) \
+ -and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp -or -iname *.java \) \) \
| xargs clang-format -style=file -i -fallback-style=none
exit 0
diff --git a/bin/format_source_patch b/bin/format_source_patch
index 439baf2..2e01455 100755
--- a/bin/format_source_patch
+++ b/bin/format_source_patch
@@ -20,7 +20,7 @@ find . \( -type d -path ./config -prune -and -not -path ./config \) \
-or -name H5version.h \
-or -name H5overflow.h \
\) \) \
- -and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp \) \) \
+ -and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp -or -iname *.java \) \) \
| xargs clang-format -style=file -i -fallback-style=none
git diff > clang_format.patch