mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-15 03:21:35 +08:00
[formatters][csharp] Fixed leftover linefeed state when switching from default 4.2 to 4.3-beta branch.
This commit is contained in:
parent
3dffd72985
commit
da2185f420
@ -12,6 +12,14 @@ if command -v dotnet &> /dev/null; then
|
||||
# Store original directory
|
||||
pushd "$dir" > /dev/null
|
||||
|
||||
# Ensure line endings are reset after checkout from default branch
|
||||
git rm --cached -r ../spine-csharp/
|
||||
git rm --cached -r ../spine-monogame/
|
||||
git rm --cached -r ../spine-unity/
|
||||
git checkout HEAD -- ../spine-csharp/
|
||||
git checkout HEAD -- ../spine-monogame/
|
||||
git checkout HEAD -- ../spine-unity/
|
||||
|
||||
cp .editorconfig ../spine-csharp/ 2>/dev/null || true
|
||||
cp .editorconfig ../spine-monogame/ 2>/dev/null || true
|
||||
cp .editorconfig ../spine-unity/ 2>/dev/null || true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user