File: runClangFormat.sh

package info (click to toggle)
mumble 1.5.857-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 90,180 kB
  • sloc: cpp: 556,939; ansic: 81,662; python: 3,607; sh: 659; makefile: 506; cs: 389; asm: 371; sql: 228; javascript: 143; xml: 88; perl: 80
file content (10 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# Copyright 2020-2023 The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.

git ls-files --cached --modified --others -z -- \
    ':^3rdparty/' ':^build*' '**/*'.cpp '**/*'.c '**/*'.hpp '**/*'.h '**/*'.cxx '**/*'.cc  |
	xargs -0 -r -- clang-format --style=file -i