aboutsummaryrefslogtreecommitdiff
path: root/.ci/scripts/format/exec.sh
blob: 40ab41abda4f6a32502765cdbdd5b0b08195cbfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -ex

# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later

chmod a+x ./.ci/scripts/format/docker.sh
# the UID for the container yuzu user is 1027
sudo chown -R 1027 ./
docker run -v "$(pwd):/yuzu" -w /yuzu yuzuemu/build-environments:linux-clang-format /bin/bash -ex /yuzu/.ci/scripts/format/docker.sh
sudo chown -R $UID ./