Skip to content

Commit 193456d

Browse files
committed
Added custom build script, specifically for AppVeyor, but will work locally, too.
1 parent c65ba86 commit 193456d

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Take2/AppVeyor.proj

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="AppVeyorBuild">
2+
<PropertyGroup>
3+
<APPVEYOR_BUILD_VERSION Condition="'$(APPVEYOR_BUILD_VERSION)' == ''">0.0.0-rc0</APPVEYOR_BUILD_VERSION>
4+
</PropertyGroup>
5+
<ItemGroup>
6+
<ProjectToBuild Include="NuLog.sln" >
7+
<Properties>Configuration=Release-3.5</Properties>
8+
</ProjectToBuild>
9+
<ProjectToBuild Include="NuLog.sln" >
10+
<Properties>Configuration=Release-4</Properties>
11+
</ProjectToBuild>
12+
<ProjectToBuild Include="NuLog.sln" >
13+
<Properties>Configuration=Release-4.5.2</Properties>
14+
</ProjectToBuild>
15+
</ItemGroup>
16+
<Target Name="AppVeyorBuild">
17+
<MSBuild Projects="@(ProjectToBuild)" />
18+
<Exec Command="nuget pack NuLog.nuspec -version $(APPVEYOR_BUILD_VERSION)"/>
19+
</Target>
20+
</Project>

Take2/nuget.exe

4.07 MB
Binary file not shown.

0 commit comments

Comments
 (0)