Mario Zechner
474dae82a0
ES2015 modulification of spine-ts core.
2021-08-20 16:24:10 +02:00
Mario Zechner
0bf2fb6059
Revert "Formatting errors to test GH Action."
...
This reverts commit 1800b235458b331b87bed27ce5aee55575163fc7.
2021-08-18 21:21:09 +02:00
Mario Zechner
1800b23545
Formatting errors to test GH Action.
2021-08-18 21:15:37 +02:00
Mario Zechner
12fbdd6fc2
Remove superfluous run call.
2021-08-18 21:08:16 +02:00
Mario Zechner
111b15e645
Remove git config
2021-08-18 21:04:14 +02:00
Mario Zechner
11a801f855
When everything fails, use perl.
2021-08-18 21:02:32 +02:00
Mario Zechner
6d960d5125
Fix file extension to dos2unix.
2021-08-18 20:57:02 +02:00
Mario Zechner
4588d74428
Convert crlf to lf in *.cs files after formatting so git status doesn't report wrong changes.
2021-08-18 20:52:24 +02:00
Mario Zechner
6a93555805
Remove BOMs
2021-08-18 20:51:17 +02:00
Mario Zechner
26a9813ced
Debug logs for workflow
2021-08-18 20:36:09 +02:00
Mario Zechner
b3ba3d3825
autocrlf == false
2021-08-18 20:28:52 +02:00
Mario Zechner
c89e01df18
Set autocrlf before checking out repo.
2021-08-18 20:22:17 +02:00
Mario Zechner
3395fac710
Try input autocrlf.
2021-08-18 20:17:42 +02:00
Mario Zechner
44be568028
Disable autocrlf before checking modified files.
2021-08-18 20:12:06 +02:00
Mario Zechner
a99ae8c162
Archive formatting changes
2021-08-18 20:03:27 +02:00
Mario Zechner
a475b8a9c3
Hard-code our clang-format version.
2021-08-18 19:53:54 +02:00
Mario Zechner
526d28c03b
Checkout first, so we stay in the same working dir.
2021-08-18 19:50:51 +02:00
Mario Zechner
1ec5c46361
Try specifying clang-format exe path to spotless
2021-08-18 19:46:31 +02:00
Mario Zechner
5b09b12564
Hard-code the clang-format version for spotless.
2021-08-18 19:40:54 +02:00
Mario Zechner
51e7a41651
Try using pre-installed clang-format.
2021-08-18 19:38:12 +02:00
Mario Zechner
7bff55f740
Sudo rm/ln to replace pre-installed clang-format
2021-08-18 19:32:55 +02:00
Mario Zechner
5557df3d4e
Fix clang format lookup for spotless
...
It checks for /usr/bin/clang-format before looking into the PATH...
2021-08-18 19:30:18 +02:00
Mario Zechner
5c06c2be2f
Our Clang should come first in format check
2021-08-18 19:26:18 +02:00
Mario Zechner
63d7c3ccba
Fix format check worklow
...
git status would show more files than we want to check.
2021-08-18 19:24:55 +02:00
Mario Zechner
f3fe1e3390
Use sudo in format checker workflow
2021-08-18 19:21:32 +02:00
Mario Zechner
d12b15ca8d
[csharp] Format all source code using formatters/.editorconfig
2021-08-18 18:59:53 +02:00
Mario Zechner
2aced034d3
Merge branch 'formatting-gha' into 4.0
2021-08-18 18:55:57 +02:00
Mario Zechner
ce036f446c
GitHub Action to check for formatting errors.
2021-08-18 18:55:33 +02:00
Harald Csaszar
34d5af502e
[tools] Updated csharp .editorconfig formatter configuration to include a newline the the end of file. Removed commented out unused code.
2021-08-18 16:45:28 +02:00
Harald Csaszar
577f280258
[csharp] Minor cleanup: Removed empty file CustomSkin.cs, changed comments to not make formatter indent blocks in undesired way.
2021-08-18 16:42:51 +02:00
Mario Zechner
f13ad0d983
Exclude d.ts from tsfmt
2021-08-16 19:34:45 +02:00
Mario Zechner
61f63549d4
Apply tsfmt to TypeScript sources, formatting pass on .ts files.
2021-08-16 19:34:27 +02:00
Mario Zechner
287f6dfb24
Apply formatting to C# sources.
2021-08-16 19:06:08 +02:00
Harald Csaszar
f48e2ae2f8
[tools] Updated csharp formatter .editorconfig file (generated in VS 2019), no newline at catch and finally blocks.
2021-08-16 18:42:31 +02:00
Harald Csaszar
32449a3b4d
[unity] SkeletonRootMotion component now offers a paramter to apply Rigidbody2D gravity. Defaults to false to keep existing behaviour. Closes #1941 .
2021-08-16 18:17:19 +02:00
Harald Csaszar
b4286cd615
[tools] renamed formatter/editorconfig to .editorconfig to keep original name.
2021-08-16 16:58:32 +02:00
Harald Csaszar
20c406d153
[tools] Updated csharp formatter .editorconfig file (generated in VS 2019).
2021-08-16 16:53:41 +02:00
Mario Zechner
3f6bc07bad
Move all formatter related files to formatters/
2021-08-16 16:38:16 +02:00
Harald Csaszar
d316e30a5c
[unity] Fixed missing Blend Modes example scene assets (SkeletonGraphic blend mode materials).
2021-08-13 17:53:19 +02:00
Harald Csaszar
326e4f8b01
[unity] Fixed a null reference exception in AnimationReferenceAsset inspector code when SkeletonData at the asset is null (e.g. when no json file is assigned).
2021-08-12 17:28:15 +02:00
Harald Csaszar
88b893dd9e
[unity] Fixed a compile error (ObjectOverride.Revert()) on some Unity versions after merging pull request, see #1939 , see commit 5fd4494e.
2021-08-12 12:03:03 +02:00
Harald Csaszar
57dadbdd81
[unity] Minor improvement (added #if UNITY_EDITOR) after merging pull request, see #1939 , see commit 5fd4494e.
2021-08-12 11:35:29 +02:00
Harald Csaszar
80973bc1aa
Merge pull request #1939 from sr4dev/fix_multiple_nested_prefab_override_issue
...
[unity] Fix multiple nested prefab override issue.
2021-08-12 11:30:13 +02:00
park.saerom
0a73ce902c
add null check
2021-08-11 18:10:23 +09:00
park.saerom
5fd4494ea2
Fix multiple nested prefab override issue.
...
Related to #1273 .
2021-08-11 15:36:41 +09:00
Harald Csaszar
b8ec11f20e
[unity] Added another null check. See #1273 , #1931 .
2021-08-09 15:42:24 +02:00
Harald Csaszar
e321488949
[unity] Fixes a warning when re-importing a prefab (introduced by commit 4a9f7b8a). Added a null check. See #1273 , #1931 .
2021-08-06 16:48:51 +02:00
Harald Csaszar
193ba1eacd
Merge pull request #1937 from vhristov/prefab_build_cleanup
...
[unity] Implement build preprocessor for prefabs cleanup
2021-08-06 16:39:58 +02:00
Vladislav Hristov
4a9f7b8a7b
[unity] Implement build preprocessor for prefabs cleanup
...
With the new prefab processing there is an issue where the mesh tries to
get into the build. To prevent this a build pre/post process is
introduced that will clean up the prefab from the meshes before the
build and restore the prefab meshes after the build.
This change reverts bf70a62f1 and is related to #1273,#1931.
2021-08-06 11:29:01 +03:00
Harald Csaszar
bf70a62f1b
[unity] Fixed a build error when prefab is referenced. See commit c2cbdc57. See #1273,#1931.
2021-08-05 17:20:55 +02:00