about summary refs log tree commit diff
path: root/pkgs/games/build-support/monogame-patcher/src/patcher.csproj
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-17 04:36:39 +0200
committeraszlig <aszlig@nix.build>2018-07-19 06:35:13 +0200
commit2d3dabe8af2ea4abc51f68891741db360ad11c75 (patch)
tree6c178740ffd8552c2e928939e95f4397364a6e5f /pkgs/games/build-support/monogame-patcher/src/patcher.csproj
parent3917a5e3c4b7784bf535eafb25e0a47662c0978a (diff)
monogame-patcher: Restructure and add stub tests
Mainly this is so we can prepare for running unit tests, so we get the
latest version of NUnit and run the console test runner.

Currently there is only a dummy test which always succeeds, but it's
there so that we can fill out the boilerplate later.

I also moved the option definitions into a separate file so they don't
clutter up the main file.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/build-support/monogame-patcher/src/patcher.csproj')
-rw-r--r--pkgs/games/build-support/monogame-patcher/src/patcher.csproj6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/games/build-support/monogame-patcher/src/patcher.csproj b/pkgs/games/build-support/monogame-patcher/src/patcher.csproj
index cd8f1c19..994b78e5 100644
--- a/pkgs/games/build-support/monogame-patcher/src/patcher.csproj
+++ b/pkgs/games/build-support/monogame-patcher/src/patcher.csproj
@@ -4,8 +4,10 @@
   <Import Project="$(MSBuildToolsPath)/Microsoft.CSharp.targets" />
 
   <ItemGroup>
-    <Compile Include="patcher.cs"/>
     <Compile Include="assembly-info.cs"/>
+    <Compile Include="options.cs"/>
+    <Compile Include="patcher.cs"/>
+    <Compile Include="tests.cs"/>
   </ItemGroup>
 
   <PropertyGroup>
@@ -14,6 +16,7 @@
 
     <CecilInfo>Version=0.10.0.0$(Blurb)50cebf1cceb9d05e</CecilInfo>
     <CmdLineInfo>Version=2.2.1.0$(Blurb)de6f01bd326f8c32</CmdLineInfo>
+    <NUnitInfo>Version=3.10.1.0$(Blurb)2638cd05610744eb</NUnitInfo>
   </PropertyGroup>
 
   <ItemGroup>
@@ -26,6 +29,7 @@
       <SpecificVersion>False</SpecificVersion>
       <Private>True</Private>
     </Reference>
+    <Reference Include="nunit.framework, $(NUnitInfo)"/>
   </ItemGroup>
 
   <PropertyGroup>