summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2024-02-27 21:09:04 +0100
committerRaul Santos <raulsntos@gmail.com>2024-03-02 08:25:48 +0100
commit97851f03401537b7fa0affc50a5800eda351c4b8 (patch)
tree65c983be347a5423cfeeb492ef9d3722ee0f019d /modules
parentf5dbbf7fd067bbb435989a6839fe37e03e4ba057 (diff)
downloadredot-engine-97851f03401537b7fa0affc50a5800eda351c4b8.tar.gz
Move dotnet-format script to pre-commit
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj2
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj b/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj
index db16b1fe1d..d54942e654 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj
+++ b/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj
@@ -142,5 +142,5 @@
We can't use wildcards as there may be undesired old files still hanging around.
Fortunately code completion, go to definition and such still work.
-->
- <Import Project="Generated\GeneratedIncludes.props" />
+ <Import Condition=" '$(GodotSkipGenerated)' == '' " Project="Generated\GeneratedIncludes.props" />
</Project>
diff --git a/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj b/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj
index 31e20e4ecd..c32cbcd3d1 100644
--- a/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj
+++ b/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj
@@ -44,5 +44,5 @@
We can't use wildcards as there may be undesired old files still hanging around.
Fortunately code completion, go to definition and such still work.
-->
- <Import Project="Generated\GeneratedIncludes.props" />
+ <Import Condition=" '$(GodotSkipGenerated)' == '' " Project="Generated\GeneratedIncludes.props" />
</Project>