diff options
Diffstat (limited to '.ci/scripts/format')
| -rw-r--r-- | .ci/scripts/format/docker.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/format/exec.sh | 3 | ||||
| -rw-r--r-- | .ci/scripts/format/script.sh | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/.ci/scripts/format/docker.sh b/.ci/scripts/format/docker.sh index 778411e4a..a0f7a61cc 100644 --- a/.ci/scripts/format/docker.sh +++ b/.ci/scripts/format/docker.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | # Run clang-format | 6 | # Run clang-format |
| 4 | cd /yuzu | 7 | cd /yuzu |
| 5 | chmod a+x ./.ci/scripts/format/script.sh | 8 | chmod a+x ./.ci/scripts/format/script.sh |
diff --git a/.ci/scripts/format/exec.sh b/.ci/scripts/format/exec.sh index c50e90d66..40ab41abd 100644 --- a/.ci/scripts/format/exec.sh +++ b/.ci/scripts/format/exec.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | chmod a+x ./.ci/scripts/format/docker.sh | 6 | chmod a+x ./.ci/scripts/format/docker.sh |
| 4 | # the UID for the container yuzu user is 1027 | 7 | # the UID for the container yuzu user is 1027 |
| 5 | sudo chown -R 1027 ./ | 8 | sudo chown -R 1027 ./ |
diff --git a/.ci/scripts/format/script.sh b/.ci/scripts/format/script.sh index c2550c966..119abae6a 100644 --- a/.ci/scripts/format/script.sh +++ b/.ci/scripts/format/script.sh | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | #!/bin/bash -ex | 1 | #!/bin/bash -ex |
| 2 | 2 | ||
| 3 | # SPDX-FileCopyrightText: 2019 yuzu Emulator Project | ||
| 4 | # SPDX-License-Identifier: GPL-2.0-or-later | ||
| 5 | |||
| 3 | if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \ | 6 | if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dist/*.desktop \ |
| 4 | dist/*.svg dist/*.xml; then | 7 | dist/*.svg dist/*.xml; then |
| 5 | echo Trailing whitespace found, aborting | 8 | echo Trailing whitespace found, aborting |