File: format_code.sh

package info (click to toggle)
kiwix-tools 3.7.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 836 kB
  • sloc: cpp: 711; sh: 32; ansic: 16; python: 11; makefile: 3
file content (14 lines) | stat: -rwxr-xr-x 228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/bash

files=(
"src/installer/kiwix-install.cpp"
"src/searcher/kiwix-search.cpp"
"src/manager/kiwix-manage.cpp"
"src/server/kiwix-serve.cpp"
)

for i in "${files[@]}"
do
  echo $i
  clang-format -i -style=file $i
done