summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-02-03 15:46:27 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-02-06 13:44:03 +0000
commitfeaefbcbb3ab5bd3fe7dc963d6f963669673fadc (patch)
tree15a46d02a767400d66ea021e6a0f6f0a9973aa01 /other
parent52f6e4e7c59ab3fddac779278dd90796569a857f (diff)
Format .cpp files with format-source.
Diffstat (limited to 'other')
-rwxr-xr-xother/astyle/format-source2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/astyle/format-source b/other/astyle/format-source
index c6d9982e..3757561b 100755
--- a/other/astyle/format-source
+++ b/other/astyle/format-source
@@ -45,7 +45,7 @@ if grep '<unresolved>' */*.h; then
45 exit 1 45 exit 1
46fi 46fi
47 47
48SOURCES=`find . -name "*.[ch]" -and -not -name "*.api.h" -and -not -wholename "*crypto_pwhash*" -and -not -wholename "./super_donators/*"` 48SOURCES=`find . "-(" -name "*.[ch]" -or -name "*.cpp" "-)" -and -not -name "*.api.h" -and -not -wholename "*crypto_pwhash*" -and -not -wholename "./super_donators/*"`
49 49
50$ASTYLE -n --options=other/astyle/astylerc $SOURCES 50$ASTYLE -n --options=other/astyle/astylerc $SOURCES
51 51