chore: phase 1 — add Core, Abstractions, App, Tests projects
This commit is contained in:
parent
84c76ba6aa
commit
caf57cca3e
9 changed files with 97 additions and 0 deletions
|
|
@ -1,5 +1,11 @@
|
||||||
<Solution>
|
<Solution>
|
||||||
<Folder Name="/src/">
|
<Folder Name="/src/">
|
||||||
|
<Project Path="src/AcDream.App/AcDream.App.csproj" />
|
||||||
<Project Path="src/AcDream.Cli/AcDream.Cli.csproj" />
|
<Project Path="src/AcDream.Cli/AcDream.Cli.csproj" />
|
||||||
|
<Project Path="src/AcDream.Core/AcDream.Core.csproj" />
|
||||||
|
<Project Path="src/AcDream.Plugin.Abstractions/AcDream.Plugin.Abstractions.csproj" />
|
||||||
|
</Folder>
|
||||||
|
<Folder Name="/tests/">
|
||||||
|
<Project Path="tests/AcDream.Core.Tests/AcDream.Core.Tests.csproj" />
|
||||||
</Folder>
|
</Folder>
|
||||||
</Solution>
|
</Solution>
|
||||||
|
|
|
||||||
21
src/AcDream.App/AcDream.App.csproj
Normal file
21
src/AcDream.App/AcDream.App.csproj
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<LangVersion>latest</LangVersion>
|
||||||
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
|
<RootNamespace>AcDream.App</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Silk.NET.OpenGL" Version="2.23.0" />
|
||||||
|
<PackageReference Include="Silk.NET.Windowing" Version="2.23.0" />
|
||||||
|
<PackageReference Include="Silk.NET.Input" Version="2.23.0" />
|
||||||
|
<PackageReference Include="Serilog" Version="4.0.2" />
|
||||||
|
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\AcDream.Core\AcDream.Core.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
3
src/AcDream.App/Program.cs
Normal file
3
src/AcDream.App/Program.cs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
// src/AcDream.App/Program.cs
|
||||||
|
Console.WriteLine("acdream app — phase 1 skeleton");
|
||||||
|
return 0;
|
||||||
16
src/AcDream.Core/AcDream.Core.csproj
Normal file
16
src/AcDream.Core/AcDream.Core.csproj
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<LangVersion>latest</LangVersion>
|
||||||
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Chorizite.DatReaderWriter" Version="2.1.4" />
|
||||||
|
<PackageReference Include="Serilog" Version="4.0.2" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\AcDream.Plugin.Abstractions\AcDream.Plugin.Abstractions.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
3
src/AcDream.Core/Placeholder.cs
Normal file
3
src/AcDream.Core/Placeholder.cs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
// src/AcDream.Core/Placeholder.cs
|
||||||
|
namespace AcDream.Core;
|
||||||
|
internal static class Placeholder { }
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<LangVersion>latest</LangVersion>
|
||||||
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
3
src/AcDream.Plugin.Abstractions/Placeholder.cs
Normal file
3
src/AcDream.Plugin.Abstractions/Placeholder.cs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
// src/AcDream.Plugin.Abstractions/Placeholder.cs
|
||||||
|
namespace AcDream.Plugin.Abstractions;
|
||||||
|
internal static class Placeholder { }
|
||||||
25
tests/AcDream.Core.Tests/AcDream.Core.Tests.csproj
Normal file
25
tests/AcDream.Core.Tests/AcDream.Core.Tests.csproj
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<IsPackable>false</IsPackable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="coverlet.collector" Version="6.0.4" />
|
||||||
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
|
||||||
|
<PackageReference Include="xunit" Version="2.9.3" />
|
||||||
|
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.4" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Using Include="Xunit" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\src\AcDream.Core\AcDream.Core.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
11
tests/AcDream.Core.Tests/SmokeTest.cs
Normal file
11
tests/AcDream.Core.Tests/SmokeTest.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
// tests/AcDream.Core.Tests/SmokeTest.cs
|
||||||
|
namespace AcDream.Core.Tests;
|
||||||
|
|
||||||
|
public class SmokeTest
|
||||||
|
{
|
||||||
|
[Fact]
|
||||||
|
public void TestProject_IsWired()
|
||||||
|
{
|
||||||
|
Assert.True(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue