Skip to content

Commit

Permalink
Merge pull request #130 from Arthri/use-slnf
Browse files Browse the repository at this point in the history
Consolidate solution files into one single solution file. Add solution files in place of old solutions
  • Loading branch information
SignatureBeef authored May 11, 2024
2 parents 59b06f3 + 1233468 commit a74e49f
Show file tree
Hide file tree
Showing 12 changed files with 349 additions and 337 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:

- name: Build the project
run: |
dotnet build OTAPI.Mods.sln
dotnet build OTAPI.Mods.slnf
(cd OTAPI.Patcher/bin/Debug/net6.0 && exec dotnet run --project ../../../OTAPI.Patcher.csproj -patchTarget=${{ matrix.profile.patch_target }} -latest=n --framework net6.0)
dotnet build OTAPI.Server.Launcher.sln
dotnet build OTAPI.Server.Launcher.slnf
(cd OTAPI.Server.Launcher/bin/Debug/net6.0 && exec dotnet OTAPI.Server.Launcher.dll -test-init)
- uses: actions/upload-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:

- name: Build the project
run: |
dotnet build OTAPI.Mods.sln
dotnet build OTAPI.Mods.slnf
(cd OTAPI.Patcher/bin/Debug/net6.0 && exec dotnet run --project ../../../OTAPI.Patcher.csproj -patchTarget=${{ matrix.profile.patch_target }} -latest=n --framework net6.0)
dotnet build OTAPI.Server.Launcher.sln
dotnet build OTAPI.Server.Launcher.slnf
(cd OTAPI.Server.Launcher/bin/Debug/net6.0 && exec dotnet OTAPI.Server.Launcher.dll -test-init)
- uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/OTAPI.Mods.sln",
"${workspaceFolder}/OTAPI.Mods.slnf",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand Down
91 changes: 0 additions & 91 deletions OTAPI.Client.Launcher.sln

This file was deleted.

12 changes: 12 additions & 0 deletions OTAPI.Client.Launcher.slnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"solution": {
"path": "OTAPI.sln",
"projects": [
"FNA\\FNA.Core.csproj",
"OTAPI.Client.Launcher\\OTAPI.Client.Launcher.csproj",
"OTAPI.Common\\OTAPI.Common.csproj",
"OTAPI.Patcher\\OTAPI.Patcher.csproj",
"OTAPI.Scripts\\OTAPI.Scripts.csproj"
]
}
}
1 change: 0 additions & 1 deletion OTAPI.Client.Launcher/OTAPI.Client.Launcher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Platforms>x64</Platforms>
<Nullable>enable</Nullable>
<DebugType>embedded</DebugType>
<RunPostBuildEvent>Always</RunPostBuildEvent>
Expand Down
11 changes: 11 additions & 0 deletions OTAPI.Mods.slnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"solution": {
"path": "OTAPI.sln",
"projects": [
"FNA\\FNA.Core.csproj",
"OTAPI.Common\\OTAPI.Common.csproj",
"OTAPI.Patcher\\OTAPI.Patcher.csproj",
"OTAPI.Scripts\\OTAPI.Scripts.csproj"
]
}
}
1 change: 0 additions & 1 deletion OTAPI.Scripts/OTAPI.Scripts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<PreserveCompilationContext>true</PreserveCompilationContext>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
<Platforms>x64</Platforms>
</PropertyGroup>
<Import Condition="Exists('..\OTAPI.Patcher\bin\Debug\net6.0\AutoGenerated.target')" Project="..\OTAPI.Patcher\bin\Debug\net6.0\AutoGenerated.target" />
<Import Condition="Exists('..\OTAPI.Client.Launcher\bin\Debug\net6.0\AutoGenerated.target')" Project="..\OTAPI.Client.Launcher\bin\Debug\net6.0\AutoGenerated.target" />
Expand Down
30 changes: 0 additions & 30 deletions OTAPI.Server.Launcher.sln

This file was deleted.

9 changes: 9 additions & 0 deletions OTAPI.Server.Launcher.slnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"solution": {
"path": "OTAPI.sln",
"projects": [
"OTAPI.Server.Launcher\\OTAPI.Server.Launcher.csproj",
"examples\\RuntimeExample.Server\\RuntimeExample.Server.csproj"
]
}
}
Loading

0 comments on commit a74e49f

Please sign in to comment.