summaryrefslogtreecommitdiffstats
path: root/src/civetweb/format.bat
diff options
context:
space:
mode:
Diffstat (limited to 'src/civetweb/format.bat')
-rwxr-xr-xsrc/civetweb/format.bat33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/civetweb/format.bat b/src/civetweb/format.bat
new file mode 100755
index 00000000..e1ce6409
--- /dev/null
+++ b/src/civetweb/format.bat
@@ -0,0 +1,33 @@
+#!/bin/sh
+clang-format -i src/civetweb.c
+clang-format -i src/main.c
+clang-format -i src/CivetServer.cpp
+clang-format -i src/civetweb_private_lua.h
+clang-format -i src/md5.inl
+clang-format -i src/sha1.inl
+clang-format -i src/mod_lua.inl
+clang-format -i src/mod_duktape.inl
+clang-format -i src/timer.inl
+clang-format -i src/handle_form.inl
+
+clang-format -i src/third_party/civetweb_lua.h
+
+clang-format -i include/civetweb.h
+clang-format -i include/CivetServer.h
+
+clang-format -i test/public_func.h
+clang-format -i test/public_func.c
+clang-format -i test/public_server.h
+clang-format -i test/public_server.c
+clang-format -i test/private.h
+clang-format -i test/private.c
+clang-format -i test/private_exe.h
+clang-format -i test/private_exe.c
+clang-format -i test/shared.h
+clang-format -i test/shared.c
+clang-format -i test/timertest.h
+clang-format -i test/timertest.c
+clang-format -i test/civetweb_check.h
+clang-format -i test/main.c
+
+clang-format -i examples/embedded_c/embedded_c.c