Skip to content

Commit 56ad5f1

Browse files
committed
unit tests still need to use KSPBT for system libraries
1 parent ca45fcc commit 56ad5f1

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ packages/
3535
[Rr]esources/GameData/kOS/Plugins/
3636
[Rr]esources/*.dll
3737
[Rr]esources/GameData/*.dll
38+
[Rr]esources/UnitTests/*.dll
39+
[Rr]esources/UnitTests/*.pdb
3840
!Resources/GameData/kOS/ICSharpCode.SharpZipLib.dll
3941

4042
# Symlink to KSP directory

src/kOS.Safe.Test/kOS.Safe.Test.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,22 @@
66
<PropertyGroup>
77
<ReferenceUnityAssemblies>false</ReferenceUnityAssemblies>
88
<ReferenceKSPAssemblies>false</ReferenceKSPAssemblies>
9+
<BinariesOutputRelativePath>Resources/UnitTests</BinariesOutputRelativePath>
910
</PropertyGroup>
11+
<ItemGroup>
12+
<None Include="Compilation\CompiledObject-doc.md" />
13+
<None Include="Compilation\KS\kRISC.tpg" />
14+
<Compile Remove="$(PkgKSPBuildTools)/build/include/Log.cs" />
15+
</ItemGroup>
1016
<ItemGroup>
1117
<ProjectReference Include="..\kOS.Safe\kOS.Safe.csproj">
1218
<Project>{590FFDA8-7B44-4BC3-A12A-5FFE2BB7D8FD}</Project>
1319
<Name>kOS.Safe</Name>
14-
<Private>False</Private>
1520
</ProjectReference>
1621
</ItemGroup>
1722
<ItemGroup>
1823
<PackageReference Include="NSubstitute" Version="1.8.1.0" />
1924
<PackageReference Include="NUnit" Version="2.7.1" />
25+
<PackageReference Include="KSPBuildTools" Version="0.0.4" GeneratePathProperty="True" />
2026
</ItemGroup>
2127
</Project>

0 commit comments

Comments
 (0)