Welcome to mirror list, hosted at ThFree Co, Russian Federation.

runClangFormat.sh « scripts - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e1633178b001c05973c6889a98dc5ca4f54ba01b (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
#
# Copyright 2020-2022 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