Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clean up project structure #2

Merged
merged 2 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
2 changes: 2 additions & 0 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_CORE_VERSION }}
- name: Install Maui
run: dotnet workload install maui
- name: Restore dependencies
run: dotnet restore "${{ env.WORKING_DIRECTORY }}"
- name: Build
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Katharos.UnitTests;
namespace Katharos.Models.Tests;

public class UnitTest1
{
Expand Down
6 changes: 6 additions & 0 deletions src/1-Models/Katharos.Models/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Katharos.Models;

public class Class1
{

}
11 changes: 11 additions & 0 deletions src/1-Models/Katharos.Models/User.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace Katharos.Models
{
public class User
{
#region Properties



#endregion
}
}
Empty file added src/1-Models/README.md
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Katharos.PerformanceTests;
namespace Katharos.Services.Test;

public class UnitTest1
{
Expand Down
11 changes: 11 additions & 0 deletions src/2-Services/Katharos.Services/AccountService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using Katharos.Services.Interfaces;

namespace Katharos.Services
{
public class AccountService : IAccountService
{
public void Add() {}
public void Remove() {}
public void Update() {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace Katharos.Services.Interfaces
{
public interface IAccountService
{
void Add();
void Remove();
void Update();
}
}
Empty file added src/2-Services/README.md
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions src/3-App/Katharos.MockServer/Katharos.MockServer.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
2 changes: 2 additions & 0 deletions src/3-App/Katharos.MockServer/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
Empty file added src/3-App/README.md
Empty file.
16 changes: 0 additions & 16 deletions src/Katharos.Core/Device.cs

This file was deleted.

12 changes: 0 additions & 12 deletions src/Katharos.Core/Report.cs

This file was deleted.

14 changes: 0 additions & 14 deletions src/Katharos.Core/Snapshot.cs

This file was deleted.

20 changes: 0 additions & 20 deletions src/Katharos.Core/User.cs

This file was deleted.

12 changes: 0 additions & 12 deletions src/Katharos.Core/UserSettings.cs

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions src/Katharos.Core/obj/Debug/net8.0/KatharosCore.AssemblyInfo.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
66 changes: 0 additions & 66 deletions src/Katharos.Core/obj/KatharosCore.csproj.nuget.dgspec.json

This file was deleted.

15 changes: 0 additions & 15 deletions src/Katharos.Core/obj/KatharosCore.csproj.nuget.g.props

This file was deleted.

2 changes: 0 additions & 2 deletions src/Katharos.Core/obj/KatharosCore.csproj.nuget.g.targets

This file was deleted.

71 changes: 0 additions & 71 deletions src/Katharos.Core/obj/project.assets.json

This file was deleted.

8 changes: 0 additions & 8 deletions src/Katharos.Core/obj/project.nuget.cache

This file was deleted.

Loading
Loading