File tree 3 files changed +37
-2
lines changed
src/NUnitEngine/nunit-agent
3 files changed +37
-2
lines changed Original file line number Diff line number Diff line change 1
1
// Load the recipe
2
- #load nuget : ? package= NUnit . Cake . Recipe & version = 1.2 .0 - dev00007
2
+ #load nuget : ? package= NUnit . Cake . Recipe & version = 1.2 .0 - dev00009
3
3
// Comment out above line and uncomment below for local tests of recipe changes
4
4
//#load ../NUnit.Cake.Recipe/recipe/*.cake
5
5
@@ -189,6 +189,30 @@ BuildSettings.Packages.AddRange(new PackageDefinition[] {
189
189
} )
190
190
} ) ;
191
191
192
+ Task ( "BuildZipPackage" )
193
+ . Does ( ( ) =>
194
+ {
195
+ NUnitConsoleZipPackage . BuildPackage ( ) ;
196
+ } ) ;
197
+
198
+ Task ( "InstallZipPackage" )
199
+ . Does ( ( ) =>
200
+ {
201
+ NUnitConsoleZipPackage . InstallPackage ( ) ;
202
+ } ) ;
203
+
204
+ Task ( "VerifyZipPackage" )
205
+ . Does ( ( ) =>
206
+ {
207
+ NUnitConsoleZipPackage . VerifyPackage ( ) ;
208
+ } ) ;
209
+
210
+ Task ( "TestZipPackage" )
211
+ . Does ( ( ) =>
212
+ {
213
+ NUnitConsoleZipPackage . RunPackageTests ( ) ;
214
+ } ) ;
215
+
192
216
// Adhoc code to check content of a dotnet standalone executable
193
217
// TODO: Incorporate this in the recipe itself
194
218
Original file line number Diff line number Diff line change 25
25
<ItemGroup >
26
26
<Compile Include =" ..\nunit.engine.core\Internal\ExceptionHelper.cs" Link =" ExceptionHelper.cs" />
27
27
</ItemGroup >
28
-
28
+
29
+ <ItemGroup Condition =" '$(TargetFramework)'=='net462'" >
30
+ <Content Include =" nunit.agent.addins" >
31
+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
32
+ </Content >
33
+ </ItemGroup >
34
+
29
35
<ItemGroup >
30
36
<Content Include =" ..\..\..\nunit.ico" >
31
37
<Link >nunit.ico</Link >
Original file line number Diff line number Diff line change
1
+ ../../net462/addins/nunit.v2.driver.dll
2
+ ../../net462/addins/nunit-v2-result-writer.dll
3
+ ../../net462/addins/nunit-project-loader.dll
4
+ ../../net462/addins/vs-project-loader.dll
5
+ ../../net462/addins/teamcity-event-listener.dll
You can’t perform that action at this time.
0 commit comments