]> O.S.I.I.S - jp/crow.git/commitdiff
reset hello world, intermediateoutputpath set in Directory.Build.props was causing...
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Tue, 28 Sep 2021 10:14:08 +0000 (10:14 +0000)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Tue, 28 Sep 2021 10:15:21 +0000 (10:15 +0000)
Documentation/DeviceEventRouting.md
Samples/Directory.Build.props
Samples/HelloWorld/ui/helloworld.crow
Samples/PerfTests/Program.cs
clean.sh [deleted file]

index ae3bc3173e6952c6a6ef3c5717b1bf4e12098397..4e11ee423c38cff7b4278f1d48cb2d70bf5209f8 100644 (file)
@@ -1,4 +1,4 @@
 
-Bubbling or not Bubbling, that the question.
+Bubbling or not Bubbling, that's the question.
 
 
index 8e2a39cdb1e4755577d84c4696060f58a2bdc3a7..3445954770cf996d53a653a7fa3ba8db2148da9c 100644 (file)
@@ -6,7 +6,6 @@
 
                <SolutionDir>$(MSBuildThisFileDirectory)..\</SolutionDir>
                <OutputPath>$(SolutionDir)build\$(Configuration)\</OutputPath>
-               <IntermediateOutputPath>$(SolutionDir)build\obj\$(Configuration)\</IntermediateOutputPath>
 
                <!--<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>-->
 
index a9dad40cee05f1762af0afc239fb7b6c1dba37a0..d1c30b0f630466ff663d9e78043d3b50b92ccedc 100644 (file)
@@ -1,40 +1,2 @@
 <?xml version="1.0"?>
-<VerticalStack Margin="50" Spacing="20">
-       <HorizontalStack Height="Fit">
-               <Label Text="Hover:" Width="50" Foreground="Grey"/>
-               <Label Text="{HoverWidget}" Font="mono, 8"/>
-       </HorizontalStack>
-       <HorizontalStack Height="Fit">
-               <Label Text="Focus:" Width="50" Foreground="Grey"/>
-               <Label Text="{FocusedWidget}" Font="mono, 8"/>
-       </HorizontalStack>
-       <HorizontalStack Height="Fit">
-               <Label Text="Active:" Width="50" Foreground="Grey"/>
-               <Label Text="{ActiveWidget}" Font="mono, 8"/>
-       </HorizontalStack>
-       <Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
-                       MouseEnter="{Background=Red}"
-                       MouseLeave="{Background=Blue}">
-               <Label Margin="5" Text="Hello World" />
-       </Border>
-       <Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
-                       MouseEnter="{Background=Red}"
-                       MouseLeave="{Background=Blue}">
-               <Label Margin="5" Text="Hello World" />
-       </Border>
-       <Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
-                       MouseEnter="{Background=Red}"
-                       MouseLeave="{Background=Blue}">
-               <Label Margin="5" Text="Hello World" />
-       </Border>
-       <Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
-                       MouseEnter="{Background=Red}"
-                       MouseLeave="{Background=Blue}">
-               <Label Margin="5" Text="Hello World" />
-       </Border>
-       <Border Height="Fit" Margin="2" Background="Blue" ContextCommands="{CMDTest}" Focusable="true"
-                       MouseEnter="{Background=Red}"
-                       MouseLeave="{Background=Blue}">
-               <Label Margin="5" Text="Hello World" />
-       </Border>
-</VerticalStack>
+<Label Text="Hello World"/>
index 17af62824c1eaafc72a319cbcf928689ed13b3b3..8ec252ddb1ad5e53775994b8989dc6ab00735c8f 100644 (file)
@@ -130,17 +130,15 @@ namespace PerfTests
                                                break;
                                        case "--help":
                                        default:
-                                               throw new Exception ();
+                                               throw new Exception ("none");
                                        }
                                }
-                               if (EndStage < StartStage) {
-                                       Console.WriteLine ($"Ending stage (){EndStage} is before Starting stage ({StartStage})");
-                                       throw new Exception ();
-                               }
+                               if (EndStage < StartStage)
+                                       throw new Exception ($"Ending stage (){EndStage} is before Starting stage ({StartStage})");
 
-                       } catch (Exception) {
+                       } catch (Exception e) {
                                printHelp ();
-                               throw;
+                               throw e;
                        }
 
                        if (string.IsNullOrEmpty (outDir)) {
@@ -525,9 +523,11 @@ namespace PerfTests
                                                iface.PerformTests ();
                                }
                        } catch (Exception e) {
-                               Console.ForegroundColor = ConsoleColor.DarkRed;
-                               Console.WriteLine (e);
-                               Console.ResetColor ();
+                               if (e.Message != "none") {
+                                       Console.ForegroundColor = ConsoleColor.DarkRed;
+                                       Console.WriteLine (e);
+                                       Console.ResetColor ();
+                               }
             }
                }
        }
diff --git a/clean.sh b/clean.sh
deleted file mode 100755 (executable)
index 08b3c61..0000000
--- a/clean.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-rm -fr build && find . -iname bin -o -iname obj -o -iname packages -o -iname build | xargs rm -rf