From 3e3e54fced10cd631efa9ca9fa5834605318b4d3 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Mon, 10 Jun 2024 21:54:32 +0300 Subject: [PATCH] fix: Adjust GenerateUnoSplash targets to have proper inputs for better incrementality --- src/.nuspec/Uno.Resizetizer.android.targets | 5 ++++- src/.nuspec/Uno.Resizetizer.apple.targets | 6 ++++-- src/.nuspec/Uno.Resizetizer.targets | 8 +++++++- src/.nuspec/Uno.Resizetizer.wasm.targets | 11 ++++++++++- src/.nuspec/Uno.Resizetizer.windows.skia.targets | 7 +++++-- 5 files changed, 30 insertions(+), 7 deletions(-) diff --git a/src/.nuspec/Uno.Resizetizer.android.targets b/src/.nuspec/Uno.Resizetizer.android.targets index af0bb8f..2335409 100644 --- a/src/.nuspec/Uno.Resizetizer.android.targets +++ b/src/.nuspec/Uno.Resizetizer.android.targets @@ -3,6 +3,7 @@ Name="GenerateUnoSplashAndroid" BeforeTargets="ProcessUnoSplashScreens" Condition=" '@(UnoSplashScreen)' != '' " + Inputs="@(UnoSplashScreen)" Outputs="$(_UnoSplashStampFile)"> @@ -12,6 +13,8 @@ IntermediateOutputPath="$(_UnoIntermediateSplashScreen)" UnoSplashScreen="@(UnoSplashScreen)" /> + + @@ -46,4 +49,4 @@ - \ No newline at end of file + diff --git a/src/.nuspec/Uno.Resizetizer.apple.targets b/src/.nuspec/Uno.Resizetizer.apple.targets index 0a58a7c..39ced9b 100644 --- a/src/.nuspec/Uno.Resizetizer.apple.targets +++ b/src/.nuspec/Uno.Resizetizer.apple.targets @@ -3,7 +3,7 @@ Name="GenerateUnoSplashApple" BeforeTargets="ProcessUnoSplashScreens" Condition="'$(DesignTimeBuild)' != 'True' And '@(UnoSplashScreen)' != ''" - Outputs="$(_UnoSplashStampFile)"> + Outputs="$(_UnoSplashStampFile)"> @@ -27,6 +27,8 @@ IntermediateOutputPath="$(_UnoIntermediateSplashScreen)" PlistName="UnoInfo.plist" Storyboard="$(_UnoIntermediateSplashScreenFile)"/> + + - \ No newline at end of file + diff --git a/src/.nuspec/Uno.Resizetizer.targets b/src/.nuspec/Uno.Resizetizer.targets index d128149..1493393 100644 --- a/src/.nuspec/Uno.Resizetizer.targets +++ b/src/.nuspec/Uno.Resizetizer.targets @@ -449,7 +449,7 @@ - + @@ -459,6 +459,12 @@ + + + + + diff --git a/src/.nuspec/Uno.Resizetizer.wasm.targets b/src/.nuspec/Uno.Resizetizer.wasm.targets index f270057..1f3cf26 100644 --- a/src/.nuspec/Uno.Resizetizer.wasm.targets +++ b/src/.nuspec/Uno.Resizetizer.wasm.targets @@ -3,10 +3,13 @@ Name="GenerateUnoSplashWasm" BeforeTargets="ProcessUnoSplashScreens" Condition="'$(DesignTimeBuild)' != 'true' AND $(OutputType) == 'Exe'" + Inputs="@(EmbeddedResource);@(UnoSplashScreen)" Outputs="$(_UnoSplashStampFile)"> + + + + + + + + @@ -74,4 +83,4 @@ Link="$(WasmPWAManifestFile)"/> - \ No newline at end of file + diff --git a/src/.nuspec/Uno.Resizetizer.windows.skia.targets b/src/.nuspec/Uno.Resizetizer.windows.skia.targets index 53264b3..0669887 100644 --- a/src/.nuspec/Uno.Resizetizer.windows.skia.targets +++ b/src/.nuspec/Uno.Resizetizer.windows.skia.targets @@ -24,10 +24,11 @@ Name="GenerateUnoSplashWindowsSkia" BeforeTargets="ProcessUnoSplashScreens" Condition="'$(DesignTimeBuild)' != 'True' And '@(UnoSplashScreen)' != ''" + Inputs="@(UnoSplashScreen)" Outputs="$(_UnoSplashStampFile)"> - + @@ -38,6 +39,8 @@ IntermediateOutputPath="$(_UnoIntermediateSplashScreen)" UnoSplashScreen="@(UnoWindowsSplash)" /> + + - \ No newline at end of file +