mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
When everything fails, use perl.
This commit is contained in:
parent
6d960d5125
commit
11a801f855
4
.github/workflows/format-check.yml
vendored
4
.github/workflows/format-check.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
- name: Install OS dependencies (needed for act on ubuntu-latest)
|
- name: Install OS dependencies (needed for act on ubuntu-latest)
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y --force-yes curl xz-utils libicu-dev git dos2unix
|
sudo apt install -y --force-yes curl xz-utils libicu-dev git
|
||||||
git config --global core.autocrlf input
|
git config --global core.autocrlf input
|
||||||
git config --global core.eol
|
git config --global core.eol
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
export CLANGFORMAT=`pwd`/clang/bin/clang-format
|
export CLANGFORMAT=`pwd`/clang/bin/clang-format
|
||||||
export PATH="$PATH:/root/.dotnet/tools"
|
export PATH="$PATH:/root/.dotnet/tools"
|
||||||
./formatters/format.sh
|
./formatters/format.sh
|
||||||
find . -type f -name '*.cs' -exec dos2unix '{}' +
|
find . -type f -name '*.cs' -exec perl -pi -e 's/\r\n/\n/g' '{}' +
|
||||||
git diff > format-diff.txt
|
git diff > format-diff.txt
|
||||||
|
|
||||||
- run: spine-csharp/src/Atlas.cs
|
- run: spine-csharp/src/Atlas.cs
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user