|
@@ -30,7 +30,7 @@
|
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="_Test" DependsOnTargets="_CompileGeneratedSource">
|
|
<Target Name="_Test" DependsOnTargets="_CompileGeneratedSource">
|
|
|
- <Exec Command=""E:\dotnet-protobufs\lib\NUnit 2.2.8.0\nunit-console.exe" %(TestContainer.Identity) /xml:$(BuildOutputDirectory)\%(TestContainer.Filename).$(BuildConfiguration).xml" />
|
|
|
|
|
|
|
+ <Exec Command=""$(NUnitExePath)" %(TestContainer.Identity) /xml:$(BuildOutputDirectory)\%(TestContainer.Filename).$(BuildConfiguration).xml" />
|
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="_PreparePackageComponent">
|
|
<Target Name="_PreparePackageComponent">
|
|
@@ -42,7 +42,7 @@
|
|
|
<Delete Files="@(ExistingArchives)" />
|
|
<Delete Files="@(ExistingArchives)" />
|
|
|
|
|
|
|
|
<Copy SourceFiles="@(StaticPackageItem)" DestinationFolder="$(BuildOutputDirectory)\%(StaticPackageItem.TargetDirectory)\%(StaticPackageItem.RecursiveDir)" />
|
|
<Copy SourceFiles="@(StaticPackageItem)" DestinationFolder="$(BuildOutputDirectory)\%(StaticPackageItem.TargetDirectory)\%(StaticPackageItem.RecursiveDir)" />
|
|
|
- <Exec Command=""E:\dotnet-protobufs\lib\7-Zip 9.20\7za.exe" a -tzip $(PackageName) * -r" WorkingDirectory="$(BuildOutputDirectory)" />
|
|
|
|
|
|
|
+ <Exec Command=""$(ZipExePath)" a -tzip $(PackageName) * -r" WorkingDirectory="$(BuildOutputDirectory)" />
|
|
|
|
|
|
|
|
<ItemGroup><DirectoriesToDelete Include="$([System.IO.Directory]::GetDirectories('$(BuildOutputDirectory)'))" /></ItemGroup>
|
|
<ItemGroup><DirectoriesToDelete Include="$([System.IO.Directory]::GetDirectories('$(BuildOutputDirectory)'))" /></ItemGroup>
|
|
|
<ItemGroup><FilesToDelete Include="$(BuildOutputDirectory)\**\*.*" Exclude="$(BuildOutputDirectory)\$(PackageName)" /></ItemGroup>
|
|
<ItemGroup><FilesToDelete Include="$(BuildOutputDirectory)\**\*.*" Exclude="$(BuildOutputDirectory)\$(PackageName)" /></ItemGroup>
|
|
@@ -51,4 +51,8 @@
|
|
|
<RemoveDir Directories="@(DirectoriesToDelete)" ContinueOnError="true" />
|
|
<RemoveDir Directories="@(DirectoriesToDelete)" ContinueOnError="true" />
|
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
|
|
|
|
+ <Target Name="_RunBenchmarks">
|
|
|
|
|
+ <Exec Command=""$(ProtoBenchExePath)" Google.ProtocolBuffers.ProtoBench.SizeMessage1,BenchmarkTypes $(ProjectDirectory)\benchmarks\google_message1.dat > "$(BuildTempDirectory)\BenchmarkResults.txt"" />
|
|
|
|
|
+ </Target>
|
|
|
|
|
+
|
|
|
</Project>
|
|
</Project>
|