From 7a5b8b5997c1d289ce3d33a10b09528717f133c6 Mon Sep 17 00:00:00 2001 From: Damian Suess Date: Sun, 31 May 2026 10:23:54 -0400 Subject: [PATCH 1/3] Restructured folders so samples apps are in the root directory for easy finding. It does clutter the root directory :( --- source/.editorconfig => .editorconfig | 0 source/BannedSymbols.txt => BannedSymbols.txt | 0 ...ctory.Build.props => Directory.Build.props | 6 ++--- ...Packages.props => Directory.Packages.props | 0 Lite.StateMachine.slnx | 22 +++++++++++++++++++ build.ps1 | 6 ++--- source/codemaid.config => codemaid.config | 0 source/exclusion.dic => exclusion.dic | 0 .../Sample.Basics/DiStates/DemoDiMachine.cs | 0 .../Sample.Basics/DiStates/DemoDiStates.cs | 0 .../Sample.Basics/DiStates/DiStateBase.cs | 0 .../Sample.Basics/Models/ParameterType.cs | 0 {source => samples}/Sample.Basics/Program.cs | 0 .../Sample.Basics/Sample.Basics.csproj | 2 +- .../Sample.Basics/Services/MessageService.cs | 0 .../Sample.Basics/States/DemoMachine.cs | 0 .../Sample.Basics/States/DemoStates.cs | 0 .../Sample.Basics/States/StateBase.cs | 0 {source => samples}/Sample.Mk4/Program.cs | 0 .../Sample.Mk4/Sample.Mk4.csproj | 2 +- .../Sample.Mk4/Sample4AMachine.cs | 0 .../Sample.Mk4/Sample4BMachine.cs | 0 source/Lite.StateMachine.slnx | 22 ------------------- source/stylecop.json => stylecop.json | 0 24 files changed, 30 insertions(+), 30 deletions(-) rename source/.editorconfig => .editorconfig (100%) rename source/BannedSymbols.txt => BannedSymbols.txt (100%) rename source/Directory.Build.props => Directory.Build.props (88%) rename source/Directory.Packages.props => Directory.Packages.props (100%) create mode 100644 Lite.StateMachine.slnx rename source/codemaid.config => codemaid.config (100%) rename source/exclusion.dic => exclusion.dic (100%) rename {source => samples}/Sample.Basics/DiStates/DemoDiMachine.cs (100%) rename {source => samples}/Sample.Basics/DiStates/DemoDiStates.cs (100%) rename {source => samples}/Sample.Basics/DiStates/DiStateBase.cs (100%) rename {source => samples}/Sample.Basics/Models/ParameterType.cs (100%) rename {source => samples}/Sample.Basics/Program.cs (100%) rename {source => samples}/Sample.Basics/Sample.Basics.csproj (79%) rename {source => samples}/Sample.Basics/Services/MessageService.cs (100%) rename {source => samples}/Sample.Basics/States/DemoMachine.cs (100%) rename {source => samples}/Sample.Basics/States/DemoStates.cs (100%) rename {source => samples}/Sample.Basics/States/StateBase.cs (100%) rename {source => samples}/Sample.Mk4/Program.cs (100%) rename {source => samples}/Sample.Mk4/Sample.Mk4.csproj (68%) rename {source => samples}/Sample.Mk4/Sample4AMachine.cs (100%) rename {source => samples}/Sample.Mk4/Sample4BMachine.cs (100%) delete mode 100644 source/Lite.StateMachine.slnx rename source/stylecop.json => stylecop.json (100%) diff --git a/source/.editorconfig b/.editorconfig similarity index 100% rename from source/.editorconfig rename to .editorconfig diff --git a/source/BannedSymbols.txt b/BannedSymbols.txt similarity index 100% rename from source/BannedSymbols.txt rename to BannedSymbols.txt diff --git a/source/Directory.Build.props b/Directory.Build.props similarity index 88% rename from source/Directory.Build.props rename to Directory.Build.props index f3420e2..78b2570 100644 --- a/source/Directory.Build.props +++ b/Directory.Build.props @@ -25,9 +25,9 @@ - + - - + + diff --git a/source/Directory.Packages.props b/Directory.Packages.props similarity index 100% rename from source/Directory.Packages.props rename to Directory.Packages.props diff --git a/Lite.StateMachine.slnx b/Lite.StateMachine.slnx new file mode 100644 index 0000000..3e7a3ea --- /dev/null +++ b/Lite.StateMachine.slnx @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/build.ps1 b/build.ps1 index dac8db0..6b6eab1 100644 --- a/build.ps1 +++ b/build.ps1 @@ -8,11 +8,11 @@ if (Test-Path -Path "output\") } # Clean both debug and release -dotnet clean source/Lite.StateMachine.slnx -dotnet clean source/Lite.StateMachine.slnx --configuration Release +dotnet clean Lite.StateMachine.slnx +dotnet clean Lite.StateMachine.slnx --configuration Release # Build package for release -dotnet build source/Lite.StateMachine.slnx --configuration Release +dotnet build Lite.StateMachine.slnx --configuration Release # Publish Write-Output "Cleaning publish folder.." diff --git a/source/codemaid.config b/codemaid.config similarity index 100% rename from source/codemaid.config rename to codemaid.config diff --git a/source/exclusion.dic b/exclusion.dic similarity index 100% rename from source/exclusion.dic rename to exclusion.dic diff --git a/source/Sample.Basics/DiStates/DemoDiMachine.cs b/samples/Sample.Basics/DiStates/DemoDiMachine.cs similarity index 100% rename from source/Sample.Basics/DiStates/DemoDiMachine.cs rename to samples/Sample.Basics/DiStates/DemoDiMachine.cs diff --git a/source/Sample.Basics/DiStates/DemoDiStates.cs b/samples/Sample.Basics/DiStates/DemoDiStates.cs similarity index 100% rename from source/Sample.Basics/DiStates/DemoDiStates.cs rename to samples/Sample.Basics/DiStates/DemoDiStates.cs diff --git a/source/Sample.Basics/DiStates/DiStateBase.cs b/samples/Sample.Basics/DiStates/DiStateBase.cs similarity index 100% rename from source/Sample.Basics/DiStates/DiStateBase.cs rename to samples/Sample.Basics/DiStates/DiStateBase.cs diff --git a/source/Sample.Basics/Models/ParameterType.cs b/samples/Sample.Basics/Models/ParameterType.cs similarity index 100% rename from source/Sample.Basics/Models/ParameterType.cs rename to samples/Sample.Basics/Models/ParameterType.cs diff --git a/source/Sample.Basics/Program.cs b/samples/Sample.Basics/Program.cs similarity index 100% rename from source/Sample.Basics/Program.cs rename to samples/Sample.Basics/Program.cs diff --git a/source/Sample.Basics/Sample.Basics.csproj b/samples/Sample.Basics/Sample.Basics.csproj similarity index 79% rename from source/Sample.Basics/Sample.Basics.csproj rename to samples/Sample.Basics/Sample.Basics.csproj index b472138..9625b31 100644 --- a/source/Sample.Basics/Sample.Basics.csproj +++ b/samples/Sample.Basics/Sample.Basics.csproj @@ -11,7 +11,7 @@ - + diff --git a/source/Sample.Basics/Services/MessageService.cs b/samples/Sample.Basics/Services/MessageService.cs similarity index 100% rename from source/Sample.Basics/Services/MessageService.cs rename to samples/Sample.Basics/Services/MessageService.cs diff --git a/source/Sample.Basics/States/DemoMachine.cs b/samples/Sample.Basics/States/DemoMachine.cs similarity index 100% rename from source/Sample.Basics/States/DemoMachine.cs rename to samples/Sample.Basics/States/DemoMachine.cs diff --git a/source/Sample.Basics/States/DemoStates.cs b/samples/Sample.Basics/States/DemoStates.cs similarity index 100% rename from source/Sample.Basics/States/DemoStates.cs rename to samples/Sample.Basics/States/DemoStates.cs diff --git a/source/Sample.Basics/States/StateBase.cs b/samples/Sample.Basics/States/StateBase.cs similarity index 100% rename from source/Sample.Basics/States/StateBase.cs rename to samples/Sample.Basics/States/StateBase.cs diff --git a/source/Sample.Mk4/Program.cs b/samples/Sample.Mk4/Program.cs similarity index 100% rename from source/Sample.Mk4/Program.cs rename to samples/Sample.Mk4/Program.cs diff --git a/source/Sample.Mk4/Sample.Mk4.csproj b/samples/Sample.Mk4/Sample.Mk4.csproj similarity index 68% rename from source/Sample.Mk4/Sample.Mk4.csproj rename to samples/Sample.Mk4/Sample.Mk4.csproj index ace8f56..0afa75f 100644 --- a/source/Sample.Mk4/Sample.Mk4.csproj +++ b/samples/Sample.Mk4/Sample.Mk4.csproj @@ -6,7 +6,7 @@ - + diff --git a/source/Sample.Mk4/Sample4AMachine.cs b/samples/Sample.Mk4/Sample4AMachine.cs similarity index 100% rename from source/Sample.Mk4/Sample4AMachine.cs rename to samples/Sample.Mk4/Sample4AMachine.cs diff --git a/source/Sample.Mk4/Sample4BMachine.cs b/samples/Sample.Mk4/Sample4BMachine.cs similarity index 100% rename from source/Sample.Mk4/Sample4BMachine.cs rename to samples/Sample.Mk4/Sample4BMachine.cs diff --git a/source/Lite.StateMachine.slnx b/source/Lite.StateMachine.slnx deleted file mode 100644 index 8799b83..0000000 --- a/source/Lite.StateMachine.slnx +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/stylecop.json b/stylecop.json similarity index 100% rename from source/stylecop.json rename to stylecop.json From ec5e3e3d586d7f542b65d5aa5ebe1256f5f1f1b6 Mon Sep 17 00:00:00 2001 From: Damian Suess Date: Sun, 31 May 2026 10:35:20 -0400 Subject: [PATCH 2/3] Moved AssemblyVersion definition to Directory.Build.props --- Directory.Build.props | 2 ++ source/Lite.StateMachine/Lite.StateMachine.csproj | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 78b2570..0805d27 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,6 +4,8 @@ latest True + 2.3.1 + ../../output/$(MSBuildProjectName) true enable diff --git a/source/Lite.StateMachine/Lite.StateMachine.csproj b/source/Lite.StateMachine/Lite.StateMachine.csproj index 9730760..32faade 100644 --- a/source/Lite.StateMachine/Lite.StateMachine.csproj +++ b/source/Lite.StateMachine/Lite.StateMachine.csproj @@ -8,7 +8,6 @@ Lite State Machine Flexible lightweight finite state machine (FSM) for .NET supporting shared context for passing parameters, composite (sub) states, command states, lazy-loading and thread safe. Cross-platform and optimized for speed for use in enterprise, robotic and even tiny applications. - 2.3.0 $(AssemblyVersion) $(AssemblyVersion) From 074cbffaa639f4c47534b27bd4287257a0aaa467 Mon Sep 17 00:00:00 2001 From: Damian Suess Date: Sun, 31 May 2026 10:37:04 -0400 Subject: [PATCH 3/3] Updated workflows paths --- .github/workflows/build-github.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-github.yml b/.github/workflows/build-github.yml index 7375684..a5d01eb 100644 --- a/.github/workflows/build-github.yml +++ b/.github/workflows/build-github.yml @@ -11,7 +11,7 @@ on: env: # Update to desired major.minor. This is the base version family. BASE_VERSION: "2.1" - PATH_SLNX: "source\\Lite.StateMachine.slnx" + PATH_SLNX: "Lite.StateMachine.slnx" PATH_LIB: "source\\Lite.StateMachine\\Lite.StateMachine.csproj" PATH_ARTIFACTS: ${{github.workspace}}\artifacts