mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
12 lines
412 B
Bash
12 lines
412 B
Bash
#!/bin/bash -ex
|
|
|
|
# SPDX-FileCopyrightText: 2024 suyu Emulator Project
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
#
|
|
# Modified by AMA25 on 3/5/24
|
|
|
|
chmod a+x ./.ci/scripts/format/docker.sh
|
|
# the UID for the container suyu user is 1027
|
|
sudo chown -R 1027 ./
|
|
docker run -v "$(pwd):/suyu" -w /suyu suyuemu/build-environments:linux-clang-format /bin/bash -ex /suyu/.ci/scripts/format/docker.sh
|
|
sudo chown -R $UID ./
|