From 6ef2762a6450c1e8f7c00912478cc5cbe37c20e8 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Sun, 21 Jun 2026 12:07:08 -0300 Subject: [PATCH] Migrate to new tribufu project structure --- .gitignore | 5 ++-- Directory.Build.props | 9 ++++--- scripts/generate.ps1 => Scripts/Generate.ps1 | 11 +++++++++ Scripts/Package.ps1 | 7 ++++++ .../Extensions/HttpContextExtensions.cs | 0 {src => Source}/Tribufu.AspNetCore/README.md | 0 .../Tribufu.AspNetCore.csproj | 0 .../EnumMemberConverter.cs | 0 .../Tribufu.ComponentModel/README.md | 0 .../Tribufu.ComponentModel.csproj | 0 .../ConfigurationLoader.cs | 0 .../Extensions/IConfigurationExtensions.cs | 0 .../Tribufu.Configuration/README.md | 0 .../Tribufu.Configuration.csproj | 0 .../IRepository.cs | 0 .../Tribufu.EntityFrameworkCore/README.md | 0 .../Tribufu.EntityFrameworkCore/Repository.cs | 0 .../Tribufu.EntityFrameworkCore.csproj | 0 {src => Source}/Tribufu.Example/Program.cs | 0 .../Tribufu.Example/Tribufu.Example.csproj | 0 {src => Source}/Tribufu.Logging/LogLevel.cs | 0 {src => Source}/Tribufu.Logging/Logger.cs | 0 {src => Source}/Tribufu.Logging/README.md | 0 .../Tribufu.Logging/Tribufu.Logging.csproj | 0 .../Tribufu.Platform/FlakeGenerator.cs | 0 {src => Source}/Tribufu.Platform/Paths.cs | 0 {src => Source}/Tribufu.Platform/README.md | 0 .../Tribufu.Platform/Tribufu.Platform.csproj | 0 .../BaseClassFirstContractResolver.cs | 0 .../CustomSerializerSettings.cs | 0 .../DecimalNullableStringConverter.cs | 0 .../DecimalStringConverter.cs | 0 .../NetworkAwareSnakeCaseNamingStrategy.cs | 0 .../Tribufu.Serialization/README.md | 0 .../Tribufu.Serialization.csproj | 0 .../ULongNullableStringConverter.cs | 0 .../ULongStringConverter.cs | 0 .../Tribufu/Api/TribufuGeneratedApi.cs | 0 {src => Source}/Tribufu/Client/ApiClient.cs | 0 .../Tribufu/Client/ApiException.cs | 0 {src => Source}/Tribufu/Client/ApiResponse.cs | 0 {src => Source}/Tribufu/Client/ClientUtils.cs | 0 .../Tribufu/Client/Configuration.cs | 0 .../Tribufu/Client/ExceptionFactory.cs | 0 .../Tribufu/Client/GlobalConfiguration.cs | 0 {src => Source}/Tribufu/Client/HttpMethod.cs | 0 .../Tribufu/Client/IApiAccessor.cs | 0 .../Tribufu/Client/IAsynchronousClient.cs | 0 .../Tribufu/Client/IReadableConfiguration.cs | 0 .../Tribufu/Client/ISynchronousClient.cs | 0 {src => Source}/Tribufu/Client/Multimap.cs | 0 .../Tribufu/Client/OpenAPIDateConverter.cs | 0 .../Tribufu/Client/RequestOptions.cs | 0 .../Tribufu/Client/RetryConfiguration.cs | 0 .../Tribufu/Model/AbstractOpenAPISchema.cs | 0 {src => Source}/Tribufu/Model/Account.cs | 0 {src => Source}/Tribufu/Model/Application.cs | 0 .../Tribufu/Model/ApplicationType.cs | 0 .../Tribufu/Model/AuthorizeRequest.cs | 0 {src => Source}/Tribufu/Model/ClientInfo.cs | 0 {src => Source}/Tribufu/Model/ClientType.cs | 0 .../Tribufu/Model/CodeChallengeMethod.cs | 0 {src => Source}/Tribufu/Model/CodeResponse.cs | 0 {src => Source}/Tribufu/Model/CreateUser.cs | 0 .../Tribufu/Model/CryptoViewModel.cs | 0 .../Tribufu/Model/ExternalAccount.cs | 0 {src => Source}/Tribufu/Model/Game.cs | 0 {src => Source}/Tribufu/Model/GameServer.cs | 0 .../Tribufu/Model/GameServerCluster.cs | 0 .../Tribufu/Model/GameServerQuery.cs | 0 .../Tribufu/Model/GameServerStatus.cs | 0 {src => Source}/Tribufu/Model/GrantType.cs | 0 {src => Source}/Tribufu/Model/Group.cs | 0 .../Tribufu/Model/GroupApplication.cs | 0 {src => Source}/Tribufu/Model/GroupMember.cs | 0 {src => Source}/Tribufu/Model/GroupRank.cs | 0 .../Tribufu/Model/HashViewModel.cs | 0 .../Tribufu/Model/IdentityProviderType.cs | 0 .../Tribufu/Model/IntrospectRequest.cs | 0 .../Tribufu/Model/IntrospectResponse.cs | 0 {src => Source}/Tribufu/Model/IpAddress.cs | 0 .../Tribufu/Model/LeaderboardItem.cs | 0 .../Tribufu/Model/LeaderboardOrder.cs | 0 .../Tribufu/Model/LoginProvider.cs | 0 {src => Source}/Tribufu/Model/ModelClient.cs | 0 {src => Source}/Tribufu/Model/Package.cs | 0 .../Tribufu/Model/PackageRelease.cs | 0 {src => Source}/Tribufu/Model/Product.cs | 0 {src => Source}/Tribufu/Model/ProductPrice.cs | 0 {src => Source}/Tribufu/Model/ProductType.cs | 0 {src => Source}/Tribufu/Model/Profile.cs | 0 {src => Source}/Tribufu/Model/ProfileGame.cs | 0 {src => Source}/Tribufu/Model/ProfileGroup.cs | 0 {src => Source}/Tribufu/Model/ResponseType.cs | 0 .../Tribufu/Model/RevokeRequest.cs | 0 {src => Source}/Tribufu/Model/Search.cs | 0 {src => Source}/Tribufu/Model/SearchType.cs | 0 .../Tribufu/Model/ServerMetrics.cs | 0 {src => Source}/Tribufu/Model/StorageFile.cs | 0 .../Tribufu/Model/TokenHintType.cs | 0 {src => Source}/Tribufu/Model/TokenRequest.cs | 0 .../Tribufu/Model/TokenResponse.cs | 0 {src => Source}/Tribufu/Model/TokenType.cs | 0 .../Tribufu/Model/UpdateProfile.cs | 0 {src => Source}/Tribufu/Model/UserInfo.cs | 0 {src => Source}/Tribufu/Model/UserType.cs | 0 {src => Source}/Tribufu/Tribufu.csproj | 0 {src => Source}/Tribufu/TribufuApi.cs | 0 .../Tribufu/TribufuApiSingleton.cs | 0 Tribufu.slnx | 22 +++++++++--------- {vendor => Vendor}/openapi-generator/LICENSE | 0 .../openapi-generator-cli.jar | Bin releases/.gitkeep | 0 scripts/package.ps1 | 7 ------ 114 files changed, 35 insertions(+), 26 deletions(-) rename scripts/generate.ps1 => Scripts/Generate.ps1 (63%) create mode 100644 Scripts/Package.ps1 rename {src => Source}/Tribufu.AspNetCore/Extensions/HttpContextExtensions.cs (100%) rename {src => Source}/Tribufu.AspNetCore/README.md (100%) rename {src => Source}/Tribufu.AspNetCore/Tribufu.AspNetCore.csproj (100%) rename {src => Source}/Tribufu.ComponentModel/EnumMemberConverter.cs (100%) rename {src => Source}/Tribufu.ComponentModel/README.md (100%) rename {src => Source}/Tribufu.ComponentModel/Tribufu.ComponentModel.csproj (100%) rename {src => Source}/Tribufu.Configuration/ConfigurationLoader.cs (100%) rename {src => Source}/Tribufu.Configuration/Extensions/IConfigurationExtensions.cs (100%) rename {src => Source}/Tribufu.Configuration/README.md (100%) rename {src => Source}/Tribufu.Configuration/Tribufu.Configuration.csproj (100%) rename {src => Source}/Tribufu.EntityFrameworkCore/IRepository.cs (100%) rename {src => Source}/Tribufu.EntityFrameworkCore/README.md (100%) rename {src => Source}/Tribufu.EntityFrameworkCore/Repository.cs (100%) rename {src => Source}/Tribufu.EntityFrameworkCore/Tribufu.EntityFrameworkCore.csproj (100%) rename {src => Source}/Tribufu.Example/Program.cs (100%) rename {src => Source}/Tribufu.Example/Tribufu.Example.csproj (100%) rename {src => Source}/Tribufu.Logging/LogLevel.cs (100%) rename {src => Source}/Tribufu.Logging/Logger.cs (100%) rename {src => Source}/Tribufu.Logging/README.md (100%) rename {src => Source}/Tribufu.Logging/Tribufu.Logging.csproj (100%) rename {src => Source}/Tribufu.Platform/FlakeGenerator.cs (100%) rename {src => Source}/Tribufu.Platform/Paths.cs (100%) rename {src => Source}/Tribufu.Platform/README.md (100%) rename {src => Source}/Tribufu.Platform/Tribufu.Platform.csproj (100%) rename {src => Source}/Tribufu.Serialization/BaseClassFirstContractResolver.cs (100%) rename {src => Source}/Tribufu.Serialization/CustomSerializerSettings.cs (100%) rename {src => Source}/Tribufu.Serialization/DecimalNullableStringConverter.cs (100%) rename {src => Source}/Tribufu.Serialization/DecimalStringConverter.cs (100%) rename {src => Source}/Tribufu.Serialization/NetworkAwareSnakeCaseNamingStrategy.cs (100%) rename {src => Source}/Tribufu.Serialization/README.md (100%) rename {src => Source}/Tribufu.Serialization/Tribufu.Serialization.csproj (100%) rename {src => Source}/Tribufu.Serialization/ULongNullableStringConverter.cs (100%) rename {src => Source}/Tribufu.Serialization/ULongStringConverter.cs (100%) rename {src => Source}/Tribufu/Api/TribufuGeneratedApi.cs (100%) rename {src => Source}/Tribufu/Client/ApiClient.cs (100%) rename {src => Source}/Tribufu/Client/ApiException.cs (100%) rename {src => Source}/Tribufu/Client/ApiResponse.cs (100%) rename {src => Source}/Tribufu/Client/ClientUtils.cs (100%) rename {src => Source}/Tribufu/Client/Configuration.cs (100%) rename {src => Source}/Tribufu/Client/ExceptionFactory.cs (100%) rename {src => Source}/Tribufu/Client/GlobalConfiguration.cs (100%) rename {src => Source}/Tribufu/Client/HttpMethod.cs (100%) rename {src => Source}/Tribufu/Client/IApiAccessor.cs (100%) rename {src => Source}/Tribufu/Client/IAsynchronousClient.cs (100%) rename {src => Source}/Tribufu/Client/IReadableConfiguration.cs (100%) rename {src => Source}/Tribufu/Client/ISynchronousClient.cs (100%) rename {src => Source}/Tribufu/Client/Multimap.cs (100%) rename {src => Source}/Tribufu/Client/OpenAPIDateConverter.cs (100%) rename {src => Source}/Tribufu/Client/RequestOptions.cs (100%) rename {src => Source}/Tribufu/Client/RetryConfiguration.cs (100%) rename {src => Source}/Tribufu/Model/AbstractOpenAPISchema.cs (100%) rename {src => Source}/Tribufu/Model/Account.cs (100%) rename {src => Source}/Tribufu/Model/Application.cs (100%) rename {src => Source}/Tribufu/Model/ApplicationType.cs (100%) rename {src => Source}/Tribufu/Model/AuthorizeRequest.cs (100%) rename {src => Source}/Tribufu/Model/ClientInfo.cs (100%) rename {src => Source}/Tribufu/Model/ClientType.cs (100%) rename {src => Source}/Tribufu/Model/CodeChallengeMethod.cs (100%) rename {src => Source}/Tribufu/Model/CodeResponse.cs (100%) rename {src => Source}/Tribufu/Model/CreateUser.cs (100%) rename {src => Source}/Tribufu/Model/CryptoViewModel.cs (100%) rename {src => Source}/Tribufu/Model/ExternalAccount.cs (100%) rename {src => Source}/Tribufu/Model/Game.cs (100%) rename {src => Source}/Tribufu/Model/GameServer.cs (100%) rename {src => Source}/Tribufu/Model/GameServerCluster.cs (100%) rename {src => Source}/Tribufu/Model/GameServerQuery.cs (100%) rename {src => Source}/Tribufu/Model/GameServerStatus.cs (100%) rename {src => Source}/Tribufu/Model/GrantType.cs (100%) rename {src => Source}/Tribufu/Model/Group.cs (100%) rename {src => Source}/Tribufu/Model/GroupApplication.cs (100%) rename {src => Source}/Tribufu/Model/GroupMember.cs (100%) rename {src => Source}/Tribufu/Model/GroupRank.cs (100%) rename {src => Source}/Tribufu/Model/HashViewModel.cs (100%) rename {src => Source}/Tribufu/Model/IdentityProviderType.cs (100%) rename {src => Source}/Tribufu/Model/IntrospectRequest.cs (100%) rename {src => Source}/Tribufu/Model/IntrospectResponse.cs (100%) rename {src => Source}/Tribufu/Model/IpAddress.cs (100%) rename {src => Source}/Tribufu/Model/LeaderboardItem.cs (100%) rename {src => Source}/Tribufu/Model/LeaderboardOrder.cs (100%) rename {src => Source}/Tribufu/Model/LoginProvider.cs (100%) rename {src => Source}/Tribufu/Model/ModelClient.cs (100%) rename {src => Source}/Tribufu/Model/Package.cs (100%) rename {src => Source}/Tribufu/Model/PackageRelease.cs (100%) rename {src => Source}/Tribufu/Model/Product.cs (100%) rename {src => Source}/Tribufu/Model/ProductPrice.cs (100%) rename {src => Source}/Tribufu/Model/ProductType.cs (100%) rename {src => Source}/Tribufu/Model/Profile.cs (100%) rename {src => Source}/Tribufu/Model/ProfileGame.cs (100%) rename {src => Source}/Tribufu/Model/ProfileGroup.cs (100%) rename {src => Source}/Tribufu/Model/ResponseType.cs (100%) rename {src => Source}/Tribufu/Model/RevokeRequest.cs (100%) rename {src => Source}/Tribufu/Model/Search.cs (100%) rename {src => Source}/Tribufu/Model/SearchType.cs (100%) rename {src => Source}/Tribufu/Model/ServerMetrics.cs (100%) rename {src => Source}/Tribufu/Model/StorageFile.cs (100%) rename {src => Source}/Tribufu/Model/TokenHintType.cs (100%) rename {src => Source}/Tribufu/Model/TokenRequest.cs (100%) rename {src => Source}/Tribufu/Model/TokenResponse.cs (100%) rename {src => Source}/Tribufu/Model/TokenType.cs (100%) rename {src => Source}/Tribufu/Model/UpdateProfile.cs (100%) rename {src => Source}/Tribufu/Model/UserInfo.cs (100%) rename {src => Source}/Tribufu/Model/UserType.cs (100%) rename {src => Source}/Tribufu/Tribufu.csproj (100%) rename {src => Source}/Tribufu/TribufuApi.cs (100%) rename {src => Source}/Tribufu/TribufuApiSingleton.cs (100%) rename {vendor => Vendor}/openapi-generator/LICENSE (100%) rename {vendor => Vendor}/openapi-generator/openapi-generator-cli.jar (100%) delete mode 100644 releases/.gitkeep delete mode 100644 scripts/package.ps1 diff --git a/.gitignore b/.gitignore index 867bfbd..65a18dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,9 @@ .vs/ bin/ -intermediate/ +Binaries +Intermediate/ obj/ -releases/* -!releases/.gitkeep .DS_Store .env *.filters diff --git a/Directory.Build.props b/Directory.Build.props index 9426f7c..5f5f815 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -11,10 +11,9 @@ $(NoWarn);0618;1591;1998;2002;8767 - $([System.String]::Copy('$(Configuration)').ToLower()) - $(SolutionDir)intermediate\$(MSBuildProjectName)\$(ConfigLower)\ - $(SolutionDir)intermediate\$(MSBuildProjectName)\ - $(SolutionDir)bin\$(ConfigLower)\ - $(SolutionDir)intermediate\ + $(SolutionDir)Intermediate\DotNet\$(MSBuildProjectName)\$(Configuration)\ + $(SolutionDir)Intermediate\DotNet\$(MSBuildProjectName)\ + $(SolutionDir)Binaries\$(Configuration)\DotNet\ + $(SolutionDir)Intermediate\ diff --git a/scripts/generate.ps1 b/Scripts/Generate.ps1 similarity index 63% rename from scripts/generate.ps1 rename to Scripts/Generate.ps1 index 408e2e0..abb11fc 100644 --- a/scripts/generate.ps1 +++ b/Scripts/Generate.ps1 @@ -1,5 +1,7 @@ #!/usr/bin/env pwsh +$ErrorActionPreference = "Stop" + $env:CSHARP_POST_PROCESS_FILE = "" java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate ` @@ -10,3 +12,12 @@ java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate ` --additional-properties=packageName=Tribufu,library=restsharp,targetFramework=net47,zeroBasedEnums=true ` --openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=TribufuGenerated ` --skip-validate-spec + +$srcDir = "./src" +$sourceDir = "./Source" + +if (Test-Path $srcDir) { + New-Item -ItemType Directory -Force -Path $sourceDir | Out-Null + Copy-Item -Path (Join-Path $srcDir "*") -Destination $sourceDir -Recurse -Force + Remove-Item $srcDir -Recurse -Force +} diff --git a/Scripts/Package.ps1 b/Scripts/Package.ps1 new file mode 100644 index 0000000..658179e --- /dev/null +++ b/Scripts/Package.ps1 @@ -0,0 +1,7 @@ +#!/usr/bin/env pwsh + +Get-ChildItem ./Intermediate -Filter *.nupkg -Recurse -Force | Remove-Item -Force + +dotnet clean +dotnet build -c Release +dotnet pack -c Release -o ./Intermediate diff --git a/src/Tribufu.AspNetCore/Extensions/HttpContextExtensions.cs b/Source/Tribufu.AspNetCore/Extensions/HttpContextExtensions.cs similarity index 100% rename from src/Tribufu.AspNetCore/Extensions/HttpContextExtensions.cs rename to Source/Tribufu.AspNetCore/Extensions/HttpContextExtensions.cs diff --git a/src/Tribufu.AspNetCore/README.md b/Source/Tribufu.AspNetCore/README.md similarity index 100% rename from src/Tribufu.AspNetCore/README.md rename to Source/Tribufu.AspNetCore/README.md diff --git a/src/Tribufu.AspNetCore/Tribufu.AspNetCore.csproj b/Source/Tribufu.AspNetCore/Tribufu.AspNetCore.csproj similarity index 100% rename from src/Tribufu.AspNetCore/Tribufu.AspNetCore.csproj rename to Source/Tribufu.AspNetCore/Tribufu.AspNetCore.csproj diff --git a/src/Tribufu.ComponentModel/EnumMemberConverter.cs b/Source/Tribufu.ComponentModel/EnumMemberConverter.cs similarity index 100% rename from src/Tribufu.ComponentModel/EnumMemberConverter.cs rename to Source/Tribufu.ComponentModel/EnumMemberConverter.cs diff --git a/src/Tribufu.ComponentModel/README.md b/Source/Tribufu.ComponentModel/README.md similarity index 100% rename from src/Tribufu.ComponentModel/README.md rename to Source/Tribufu.ComponentModel/README.md diff --git a/src/Tribufu.ComponentModel/Tribufu.ComponentModel.csproj b/Source/Tribufu.ComponentModel/Tribufu.ComponentModel.csproj similarity index 100% rename from src/Tribufu.ComponentModel/Tribufu.ComponentModel.csproj rename to Source/Tribufu.ComponentModel/Tribufu.ComponentModel.csproj diff --git a/src/Tribufu.Configuration/ConfigurationLoader.cs b/Source/Tribufu.Configuration/ConfigurationLoader.cs similarity index 100% rename from src/Tribufu.Configuration/ConfigurationLoader.cs rename to Source/Tribufu.Configuration/ConfigurationLoader.cs diff --git a/src/Tribufu.Configuration/Extensions/IConfigurationExtensions.cs b/Source/Tribufu.Configuration/Extensions/IConfigurationExtensions.cs similarity index 100% rename from src/Tribufu.Configuration/Extensions/IConfigurationExtensions.cs rename to Source/Tribufu.Configuration/Extensions/IConfigurationExtensions.cs diff --git a/src/Tribufu.Configuration/README.md b/Source/Tribufu.Configuration/README.md similarity index 100% rename from src/Tribufu.Configuration/README.md rename to Source/Tribufu.Configuration/README.md diff --git a/src/Tribufu.Configuration/Tribufu.Configuration.csproj b/Source/Tribufu.Configuration/Tribufu.Configuration.csproj similarity index 100% rename from src/Tribufu.Configuration/Tribufu.Configuration.csproj rename to Source/Tribufu.Configuration/Tribufu.Configuration.csproj diff --git a/src/Tribufu.EntityFrameworkCore/IRepository.cs b/Source/Tribufu.EntityFrameworkCore/IRepository.cs similarity index 100% rename from src/Tribufu.EntityFrameworkCore/IRepository.cs rename to Source/Tribufu.EntityFrameworkCore/IRepository.cs diff --git a/src/Tribufu.EntityFrameworkCore/README.md b/Source/Tribufu.EntityFrameworkCore/README.md similarity index 100% rename from src/Tribufu.EntityFrameworkCore/README.md rename to Source/Tribufu.EntityFrameworkCore/README.md diff --git a/src/Tribufu.EntityFrameworkCore/Repository.cs b/Source/Tribufu.EntityFrameworkCore/Repository.cs similarity index 100% rename from src/Tribufu.EntityFrameworkCore/Repository.cs rename to Source/Tribufu.EntityFrameworkCore/Repository.cs diff --git a/src/Tribufu.EntityFrameworkCore/Tribufu.EntityFrameworkCore.csproj b/Source/Tribufu.EntityFrameworkCore/Tribufu.EntityFrameworkCore.csproj similarity index 100% rename from src/Tribufu.EntityFrameworkCore/Tribufu.EntityFrameworkCore.csproj rename to Source/Tribufu.EntityFrameworkCore/Tribufu.EntityFrameworkCore.csproj diff --git a/src/Tribufu.Example/Program.cs b/Source/Tribufu.Example/Program.cs similarity index 100% rename from src/Tribufu.Example/Program.cs rename to Source/Tribufu.Example/Program.cs diff --git a/src/Tribufu.Example/Tribufu.Example.csproj b/Source/Tribufu.Example/Tribufu.Example.csproj similarity index 100% rename from src/Tribufu.Example/Tribufu.Example.csproj rename to Source/Tribufu.Example/Tribufu.Example.csproj diff --git a/src/Tribufu.Logging/LogLevel.cs b/Source/Tribufu.Logging/LogLevel.cs similarity index 100% rename from src/Tribufu.Logging/LogLevel.cs rename to Source/Tribufu.Logging/LogLevel.cs diff --git a/src/Tribufu.Logging/Logger.cs b/Source/Tribufu.Logging/Logger.cs similarity index 100% rename from src/Tribufu.Logging/Logger.cs rename to Source/Tribufu.Logging/Logger.cs diff --git a/src/Tribufu.Logging/README.md b/Source/Tribufu.Logging/README.md similarity index 100% rename from src/Tribufu.Logging/README.md rename to Source/Tribufu.Logging/README.md diff --git a/src/Tribufu.Logging/Tribufu.Logging.csproj b/Source/Tribufu.Logging/Tribufu.Logging.csproj similarity index 100% rename from src/Tribufu.Logging/Tribufu.Logging.csproj rename to Source/Tribufu.Logging/Tribufu.Logging.csproj diff --git a/src/Tribufu.Platform/FlakeGenerator.cs b/Source/Tribufu.Platform/FlakeGenerator.cs similarity index 100% rename from src/Tribufu.Platform/FlakeGenerator.cs rename to Source/Tribufu.Platform/FlakeGenerator.cs diff --git a/src/Tribufu.Platform/Paths.cs b/Source/Tribufu.Platform/Paths.cs similarity index 100% rename from src/Tribufu.Platform/Paths.cs rename to Source/Tribufu.Platform/Paths.cs diff --git a/src/Tribufu.Platform/README.md b/Source/Tribufu.Platform/README.md similarity index 100% rename from src/Tribufu.Platform/README.md rename to Source/Tribufu.Platform/README.md diff --git a/src/Tribufu.Platform/Tribufu.Platform.csproj b/Source/Tribufu.Platform/Tribufu.Platform.csproj similarity index 100% rename from src/Tribufu.Platform/Tribufu.Platform.csproj rename to Source/Tribufu.Platform/Tribufu.Platform.csproj diff --git a/src/Tribufu.Serialization/BaseClassFirstContractResolver.cs b/Source/Tribufu.Serialization/BaseClassFirstContractResolver.cs similarity index 100% rename from src/Tribufu.Serialization/BaseClassFirstContractResolver.cs rename to Source/Tribufu.Serialization/BaseClassFirstContractResolver.cs diff --git a/src/Tribufu.Serialization/CustomSerializerSettings.cs b/Source/Tribufu.Serialization/CustomSerializerSettings.cs similarity index 100% rename from src/Tribufu.Serialization/CustomSerializerSettings.cs rename to Source/Tribufu.Serialization/CustomSerializerSettings.cs diff --git a/src/Tribufu.Serialization/DecimalNullableStringConverter.cs b/Source/Tribufu.Serialization/DecimalNullableStringConverter.cs similarity index 100% rename from src/Tribufu.Serialization/DecimalNullableStringConverter.cs rename to Source/Tribufu.Serialization/DecimalNullableStringConverter.cs diff --git a/src/Tribufu.Serialization/DecimalStringConverter.cs b/Source/Tribufu.Serialization/DecimalStringConverter.cs similarity index 100% rename from src/Tribufu.Serialization/DecimalStringConverter.cs rename to Source/Tribufu.Serialization/DecimalStringConverter.cs diff --git a/src/Tribufu.Serialization/NetworkAwareSnakeCaseNamingStrategy.cs b/Source/Tribufu.Serialization/NetworkAwareSnakeCaseNamingStrategy.cs similarity index 100% rename from src/Tribufu.Serialization/NetworkAwareSnakeCaseNamingStrategy.cs rename to Source/Tribufu.Serialization/NetworkAwareSnakeCaseNamingStrategy.cs diff --git a/src/Tribufu.Serialization/README.md b/Source/Tribufu.Serialization/README.md similarity index 100% rename from src/Tribufu.Serialization/README.md rename to Source/Tribufu.Serialization/README.md diff --git a/src/Tribufu.Serialization/Tribufu.Serialization.csproj b/Source/Tribufu.Serialization/Tribufu.Serialization.csproj similarity index 100% rename from src/Tribufu.Serialization/Tribufu.Serialization.csproj rename to Source/Tribufu.Serialization/Tribufu.Serialization.csproj diff --git a/src/Tribufu.Serialization/ULongNullableStringConverter.cs b/Source/Tribufu.Serialization/ULongNullableStringConverter.cs similarity index 100% rename from src/Tribufu.Serialization/ULongNullableStringConverter.cs rename to Source/Tribufu.Serialization/ULongNullableStringConverter.cs diff --git a/src/Tribufu.Serialization/ULongStringConverter.cs b/Source/Tribufu.Serialization/ULongStringConverter.cs similarity index 100% rename from src/Tribufu.Serialization/ULongStringConverter.cs rename to Source/Tribufu.Serialization/ULongStringConverter.cs diff --git a/src/Tribufu/Api/TribufuGeneratedApi.cs b/Source/Tribufu/Api/TribufuGeneratedApi.cs similarity index 100% rename from src/Tribufu/Api/TribufuGeneratedApi.cs rename to Source/Tribufu/Api/TribufuGeneratedApi.cs diff --git a/src/Tribufu/Client/ApiClient.cs b/Source/Tribufu/Client/ApiClient.cs similarity index 100% rename from src/Tribufu/Client/ApiClient.cs rename to Source/Tribufu/Client/ApiClient.cs diff --git a/src/Tribufu/Client/ApiException.cs b/Source/Tribufu/Client/ApiException.cs similarity index 100% rename from src/Tribufu/Client/ApiException.cs rename to Source/Tribufu/Client/ApiException.cs diff --git a/src/Tribufu/Client/ApiResponse.cs b/Source/Tribufu/Client/ApiResponse.cs similarity index 100% rename from src/Tribufu/Client/ApiResponse.cs rename to Source/Tribufu/Client/ApiResponse.cs diff --git a/src/Tribufu/Client/ClientUtils.cs b/Source/Tribufu/Client/ClientUtils.cs similarity index 100% rename from src/Tribufu/Client/ClientUtils.cs rename to Source/Tribufu/Client/ClientUtils.cs diff --git a/src/Tribufu/Client/Configuration.cs b/Source/Tribufu/Client/Configuration.cs similarity index 100% rename from src/Tribufu/Client/Configuration.cs rename to Source/Tribufu/Client/Configuration.cs diff --git a/src/Tribufu/Client/ExceptionFactory.cs b/Source/Tribufu/Client/ExceptionFactory.cs similarity index 100% rename from src/Tribufu/Client/ExceptionFactory.cs rename to Source/Tribufu/Client/ExceptionFactory.cs diff --git a/src/Tribufu/Client/GlobalConfiguration.cs b/Source/Tribufu/Client/GlobalConfiguration.cs similarity index 100% rename from src/Tribufu/Client/GlobalConfiguration.cs rename to Source/Tribufu/Client/GlobalConfiguration.cs diff --git a/src/Tribufu/Client/HttpMethod.cs b/Source/Tribufu/Client/HttpMethod.cs similarity index 100% rename from src/Tribufu/Client/HttpMethod.cs rename to Source/Tribufu/Client/HttpMethod.cs diff --git a/src/Tribufu/Client/IApiAccessor.cs b/Source/Tribufu/Client/IApiAccessor.cs similarity index 100% rename from src/Tribufu/Client/IApiAccessor.cs rename to Source/Tribufu/Client/IApiAccessor.cs diff --git a/src/Tribufu/Client/IAsynchronousClient.cs b/Source/Tribufu/Client/IAsynchronousClient.cs similarity index 100% rename from src/Tribufu/Client/IAsynchronousClient.cs rename to Source/Tribufu/Client/IAsynchronousClient.cs diff --git a/src/Tribufu/Client/IReadableConfiguration.cs b/Source/Tribufu/Client/IReadableConfiguration.cs similarity index 100% rename from src/Tribufu/Client/IReadableConfiguration.cs rename to Source/Tribufu/Client/IReadableConfiguration.cs diff --git a/src/Tribufu/Client/ISynchronousClient.cs b/Source/Tribufu/Client/ISynchronousClient.cs similarity index 100% rename from src/Tribufu/Client/ISynchronousClient.cs rename to Source/Tribufu/Client/ISynchronousClient.cs diff --git a/src/Tribufu/Client/Multimap.cs b/Source/Tribufu/Client/Multimap.cs similarity index 100% rename from src/Tribufu/Client/Multimap.cs rename to Source/Tribufu/Client/Multimap.cs diff --git a/src/Tribufu/Client/OpenAPIDateConverter.cs b/Source/Tribufu/Client/OpenAPIDateConverter.cs similarity index 100% rename from src/Tribufu/Client/OpenAPIDateConverter.cs rename to Source/Tribufu/Client/OpenAPIDateConverter.cs diff --git a/src/Tribufu/Client/RequestOptions.cs b/Source/Tribufu/Client/RequestOptions.cs similarity index 100% rename from src/Tribufu/Client/RequestOptions.cs rename to Source/Tribufu/Client/RequestOptions.cs diff --git a/src/Tribufu/Client/RetryConfiguration.cs b/Source/Tribufu/Client/RetryConfiguration.cs similarity index 100% rename from src/Tribufu/Client/RetryConfiguration.cs rename to Source/Tribufu/Client/RetryConfiguration.cs diff --git a/src/Tribufu/Model/AbstractOpenAPISchema.cs b/Source/Tribufu/Model/AbstractOpenAPISchema.cs similarity index 100% rename from src/Tribufu/Model/AbstractOpenAPISchema.cs rename to Source/Tribufu/Model/AbstractOpenAPISchema.cs diff --git a/src/Tribufu/Model/Account.cs b/Source/Tribufu/Model/Account.cs similarity index 100% rename from src/Tribufu/Model/Account.cs rename to Source/Tribufu/Model/Account.cs diff --git a/src/Tribufu/Model/Application.cs b/Source/Tribufu/Model/Application.cs similarity index 100% rename from src/Tribufu/Model/Application.cs rename to Source/Tribufu/Model/Application.cs diff --git a/src/Tribufu/Model/ApplicationType.cs b/Source/Tribufu/Model/ApplicationType.cs similarity index 100% rename from src/Tribufu/Model/ApplicationType.cs rename to Source/Tribufu/Model/ApplicationType.cs diff --git a/src/Tribufu/Model/AuthorizeRequest.cs b/Source/Tribufu/Model/AuthorizeRequest.cs similarity index 100% rename from src/Tribufu/Model/AuthorizeRequest.cs rename to Source/Tribufu/Model/AuthorizeRequest.cs diff --git a/src/Tribufu/Model/ClientInfo.cs b/Source/Tribufu/Model/ClientInfo.cs similarity index 100% rename from src/Tribufu/Model/ClientInfo.cs rename to Source/Tribufu/Model/ClientInfo.cs diff --git a/src/Tribufu/Model/ClientType.cs b/Source/Tribufu/Model/ClientType.cs similarity index 100% rename from src/Tribufu/Model/ClientType.cs rename to Source/Tribufu/Model/ClientType.cs diff --git a/src/Tribufu/Model/CodeChallengeMethod.cs b/Source/Tribufu/Model/CodeChallengeMethod.cs similarity index 100% rename from src/Tribufu/Model/CodeChallengeMethod.cs rename to Source/Tribufu/Model/CodeChallengeMethod.cs diff --git a/src/Tribufu/Model/CodeResponse.cs b/Source/Tribufu/Model/CodeResponse.cs similarity index 100% rename from src/Tribufu/Model/CodeResponse.cs rename to Source/Tribufu/Model/CodeResponse.cs diff --git a/src/Tribufu/Model/CreateUser.cs b/Source/Tribufu/Model/CreateUser.cs similarity index 100% rename from src/Tribufu/Model/CreateUser.cs rename to Source/Tribufu/Model/CreateUser.cs diff --git a/src/Tribufu/Model/CryptoViewModel.cs b/Source/Tribufu/Model/CryptoViewModel.cs similarity index 100% rename from src/Tribufu/Model/CryptoViewModel.cs rename to Source/Tribufu/Model/CryptoViewModel.cs diff --git a/src/Tribufu/Model/ExternalAccount.cs b/Source/Tribufu/Model/ExternalAccount.cs similarity index 100% rename from src/Tribufu/Model/ExternalAccount.cs rename to Source/Tribufu/Model/ExternalAccount.cs diff --git a/src/Tribufu/Model/Game.cs b/Source/Tribufu/Model/Game.cs similarity index 100% rename from src/Tribufu/Model/Game.cs rename to Source/Tribufu/Model/Game.cs diff --git a/src/Tribufu/Model/GameServer.cs b/Source/Tribufu/Model/GameServer.cs similarity index 100% rename from src/Tribufu/Model/GameServer.cs rename to Source/Tribufu/Model/GameServer.cs diff --git a/src/Tribufu/Model/GameServerCluster.cs b/Source/Tribufu/Model/GameServerCluster.cs similarity index 100% rename from src/Tribufu/Model/GameServerCluster.cs rename to Source/Tribufu/Model/GameServerCluster.cs diff --git a/src/Tribufu/Model/GameServerQuery.cs b/Source/Tribufu/Model/GameServerQuery.cs similarity index 100% rename from src/Tribufu/Model/GameServerQuery.cs rename to Source/Tribufu/Model/GameServerQuery.cs diff --git a/src/Tribufu/Model/GameServerStatus.cs b/Source/Tribufu/Model/GameServerStatus.cs similarity index 100% rename from src/Tribufu/Model/GameServerStatus.cs rename to Source/Tribufu/Model/GameServerStatus.cs diff --git a/src/Tribufu/Model/GrantType.cs b/Source/Tribufu/Model/GrantType.cs similarity index 100% rename from src/Tribufu/Model/GrantType.cs rename to Source/Tribufu/Model/GrantType.cs diff --git a/src/Tribufu/Model/Group.cs b/Source/Tribufu/Model/Group.cs similarity index 100% rename from src/Tribufu/Model/Group.cs rename to Source/Tribufu/Model/Group.cs diff --git a/src/Tribufu/Model/GroupApplication.cs b/Source/Tribufu/Model/GroupApplication.cs similarity index 100% rename from src/Tribufu/Model/GroupApplication.cs rename to Source/Tribufu/Model/GroupApplication.cs diff --git a/src/Tribufu/Model/GroupMember.cs b/Source/Tribufu/Model/GroupMember.cs similarity index 100% rename from src/Tribufu/Model/GroupMember.cs rename to Source/Tribufu/Model/GroupMember.cs diff --git a/src/Tribufu/Model/GroupRank.cs b/Source/Tribufu/Model/GroupRank.cs similarity index 100% rename from src/Tribufu/Model/GroupRank.cs rename to Source/Tribufu/Model/GroupRank.cs diff --git a/src/Tribufu/Model/HashViewModel.cs b/Source/Tribufu/Model/HashViewModel.cs similarity index 100% rename from src/Tribufu/Model/HashViewModel.cs rename to Source/Tribufu/Model/HashViewModel.cs diff --git a/src/Tribufu/Model/IdentityProviderType.cs b/Source/Tribufu/Model/IdentityProviderType.cs similarity index 100% rename from src/Tribufu/Model/IdentityProviderType.cs rename to Source/Tribufu/Model/IdentityProviderType.cs diff --git a/src/Tribufu/Model/IntrospectRequest.cs b/Source/Tribufu/Model/IntrospectRequest.cs similarity index 100% rename from src/Tribufu/Model/IntrospectRequest.cs rename to Source/Tribufu/Model/IntrospectRequest.cs diff --git a/src/Tribufu/Model/IntrospectResponse.cs b/Source/Tribufu/Model/IntrospectResponse.cs similarity index 100% rename from src/Tribufu/Model/IntrospectResponse.cs rename to Source/Tribufu/Model/IntrospectResponse.cs diff --git a/src/Tribufu/Model/IpAddress.cs b/Source/Tribufu/Model/IpAddress.cs similarity index 100% rename from src/Tribufu/Model/IpAddress.cs rename to Source/Tribufu/Model/IpAddress.cs diff --git a/src/Tribufu/Model/LeaderboardItem.cs b/Source/Tribufu/Model/LeaderboardItem.cs similarity index 100% rename from src/Tribufu/Model/LeaderboardItem.cs rename to Source/Tribufu/Model/LeaderboardItem.cs diff --git a/src/Tribufu/Model/LeaderboardOrder.cs b/Source/Tribufu/Model/LeaderboardOrder.cs similarity index 100% rename from src/Tribufu/Model/LeaderboardOrder.cs rename to Source/Tribufu/Model/LeaderboardOrder.cs diff --git a/src/Tribufu/Model/LoginProvider.cs b/Source/Tribufu/Model/LoginProvider.cs similarity index 100% rename from src/Tribufu/Model/LoginProvider.cs rename to Source/Tribufu/Model/LoginProvider.cs diff --git a/src/Tribufu/Model/ModelClient.cs b/Source/Tribufu/Model/ModelClient.cs similarity index 100% rename from src/Tribufu/Model/ModelClient.cs rename to Source/Tribufu/Model/ModelClient.cs diff --git a/src/Tribufu/Model/Package.cs b/Source/Tribufu/Model/Package.cs similarity index 100% rename from src/Tribufu/Model/Package.cs rename to Source/Tribufu/Model/Package.cs diff --git a/src/Tribufu/Model/PackageRelease.cs b/Source/Tribufu/Model/PackageRelease.cs similarity index 100% rename from src/Tribufu/Model/PackageRelease.cs rename to Source/Tribufu/Model/PackageRelease.cs diff --git a/src/Tribufu/Model/Product.cs b/Source/Tribufu/Model/Product.cs similarity index 100% rename from src/Tribufu/Model/Product.cs rename to Source/Tribufu/Model/Product.cs diff --git a/src/Tribufu/Model/ProductPrice.cs b/Source/Tribufu/Model/ProductPrice.cs similarity index 100% rename from src/Tribufu/Model/ProductPrice.cs rename to Source/Tribufu/Model/ProductPrice.cs diff --git a/src/Tribufu/Model/ProductType.cs b/Source/Tribufu/Model/ProductType.cs similarity index 100% rename from src/Tribufu/Model/ProductType.cs rename to Source/Tribufu/Model/ProductType.cs diff --git a/src/Tribufu/Model/Profile.cs b/Source/Tribufu/Model/Profile.cs similarity index 100% rename from src/Tribufu/Model/Profile.cs rename to Source/Tribufu/Model/Profile.cs diff --git a/src/Tribufu/Model/ProfileGame.cs b/Source/Tribufu/Model/ProfileGame.cs similarity index 100% rename from src/Tribufu/Model/ProfileGame.cs rename to Source/Tribufu/Model/ProfileGame.cs diff --git a/src/Tribufu/Model/ProfileGroup.cs b/Source/Tribufu/Model/ProfileGroup.cs similarity index 100% rename from src/Tribufu/Model/ProfileGroup.cs rename to Source/Tribufu/Model/ProfileGroup.cs diff --git a/src/Tribufu/Model/ResponseType.cs b/Source/Tribufu/Model/ResponseType.cs similarity index 100% rename from src/Tribufu/Model/ResponseType.cs rename to Source/Tribufu/Model/ResponseType.cs diff --git a/src/Tribufu/Model/RevokeRequest.cs b/Source/Tribufu/Model/RevokeRequest.cs similarity index 100% rename from src/Tribufu/Model/RevokeRequest.cs rename to Source/Tribufu/Model/RevokeRequest.cs diff --git a/src/Tribufu/Model/Search.cs b/Source/Tribufu/Model/Search.cs similarity index 100% rename from src/Tribufu/Model/Search.cs rename to Source/Tribufu/Model/Search.cs diff --git a/src/Tribufu/Model/SearchType.cs b/Source/Tribufu/Model/SearchType.cs similarity index 100% rename from src/Tribufu/Model/SearchType.cs rename to Source/Tribufu/Model/SearchType.cs diff --git a/src/Tribufu/Model/ServerMetrics.cs b/Source/Tribufu/Model/ServerMetrics.cs similarity index 100% rename from src/Tribufu/Model/ServerMetrics.cs rename to Source/Tribufu/Model/ServerMetrics.cs diff --git a/src/Tribufu/Model/StorageFile.cs b/Source/Tribufu/Model/StorageFile.cs similarity index 100% rename from src/Tribufu/Model/StorageFile.cs rename to Source/Tribufu/Model/StorageFile.cs diff --git a/src/Tribufu/Model/TokenHintType.cs b/Source/Tribufu/Model/TokenHintType.cs similarity index 100% rename from src/Tribufu/Model/TokenHintType.cs rename to Source/Tribufu/Model/TokenHintType.cs diff --git a/src/Tribufu/Model/TokenRequest.cs b/Source/Tribufu/Model/TokenRequest.cs similarity index 100% rename from src/Tribufu/Model/TokenRequest.cs rename to Source/Tribufu/Model/TokenRequest.cs diff --git a/src/Tribufu/Model/TokenResponse.cs b/Source/Tribufu/Model/TokenResponse.cs similarity index 100% rename from src/Tribufu/Model/TokenResponse.cs rename to Source/Tribufu/Model/TokenResponse.cs diff --git a/src/Tribufu/Model/TokenType.cs b/Source/Tribufu/Model/TokenType.cs similarity index 100% rename from src/Tribufu/Model/TokenType.cs rename to Source/Tribufu/Model/TokenType.cs diff --git a/src/Tribufu/Model/UpdateProfile.cs b/Source/Tribufu/Model/UpdateProfile.cs similarity index 100% rename from src/Tribufu/Model/UpdateProfile.cs rename to Source/Tribufu/Model/UpdateProfile.cs diff --git a/src/Tribufu/Model/UserInfo.cs b/Source/Tribufu/Model/UserInfo.cs similarity index 100% rename from src/Tribufu/Model/UserInfo.cs rename to Source/Tribufu/Model/UserInfo.cs diff --git a/src/Tribufu/Model/UserType.cs b/Source/Tribufu/Model/UserType.cs similarity index 100% rename from src/Tribufu/Model/UserType.cs rename to Source/Tribufu/Model/UserType.cs diff --git a/src/Tribufu/Tribufu.csproj b/Source/Tribufu/Tribufu.csproj similarity index 100% rename from src/Tribufu/Tribufu.csproj rename to Source/Tribufu/Tribufu.csproj diff --git a/src/Tribufu/TribufuApi.cs b/Source/Tribufu/TribufuApi.cs similarity index 100% rename from src/Tribufu/TribufuApi.cs rename to Source/Tribufu/TribufuApi.cs diff --git a/src/Tribufu/TribufuApiSingleton.cs b/Source/Tribufu/TribufuApiSingleton.cs similarity index 100% rename from src/Tribufu/TribufuApiSingleton.cs rename to Source/Tribufu/TribufuApiSingleton.cs diff --git a/Tribufu.slnx b/Tribufu.slnx index c96674e..cb7cb6c 100644 --- a/Tribufu.slnx +++ b/Tribufu.slnx @@ -1,13 +1,13 @@ - - - - - - - - - - + + + + + + + + + + - \ No newline at end of file + diff --git a/vendor/openapi-generator/LICENSE b/Vendor/openapi-generator/LICENSE similarity index 100% rename from vendor/openapi-generator/LICENSE rename to Vendor/openapi-generator/LICENSE diff --git a/vendor/openapi-generator/openapi-generator-cli.jar b/Vendor/openapi-generator/openapi-generator-cli.jar similarity index 100% rename from vendor/openapi-generator/openapi-generator-cli.jar rename to Vendor/openapi-generator/openapi-generator-cli.jar diff --git a/releases/.gitkeep b/releases/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/scripts/package.ps1 b/scripts/package.ps1 deleted file mode 100644 index b496845..0000000 --- a/scripts/package.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env pwsh - -Get-ChildItem ./releases -Filter *.nupkg -Recurse -Force | Remove-Item -Force - -dotnet clean -dotnet build -c Release -dotnet pack -c Release -o ./releases