Skip to content

Commit

Permalink
Simplify the build script
Browse files Browse the repository at this point in the history
  • Loading branch information
nulltoken committed May 26, 2011
1 parent af292e4 commit 0a5f536
Show file tree
Hide file tree
Showing 29 changed files with 3 additions and 285 deletions.
13 changes: 3 additions & 10 deletions CI-build.msbuild
@@ -1,23 +1,16 @@
<Project DefaultTargets="Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\Lib\MSBuild.Community.Tasks\MSBuild.Community.Tasks.dll" TaskName="NUnit" />
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\Lib\MSBuild.ExtensionPack\MSBuild.ExtensionPack.dll" TaskName="Folder"/>
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\Lib\MSBuild.Community.Tasks\MSBuild.Community.Tasks.dll" TaskName="DeleteTree" />

<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Release</Configuration>

<LibObjDir>$(MSBuildProjectDirectory)\LibGit2Sharp\obj\</LibObjDir>
<TestsObjDir>$(MSBuildProjectDirectory)\LibGit2Sharp.Tests\obj\</TestsObjDir>
<BuildDirs>$(MSBuildProjectDirectory)\LibGit2Sharp*\**\obj;$(MSBuildProjectDirectory)\LibGit2Sharp*\**\bin</BuildDirs>
<OutputDir>$(MSBuildProjectDirectory)\build\</OutputDir>
</PropertyGroup>

<Target Name="Clean">
<Folder TaskAction="RemoveContent" Path="$(LibObjDir)" Condition="Exists('$(LibObjDir)')" />
<Folder TaskAction="RemoveContent" Path="$(TestsObjDir)" Condition="Exists('$(TestsObjDir)')" />
<Folder TaskAction="RemoveContent" Path="$(OutputDir)" Condition="Exists('$(OutputDir)')" />

<RemoveDir Directories="$(LibObjDir)" Condition="Exists('$(LibObjDir)')" />
<RemoveDir Directories="$(TestsObjDir)" Condition="Exists('$(TestsObjDir)')" />
<RemoveDir Directories="$(OutputDir)" Condition="Exists('$(OutputDir)')" />
<DeleteTree Directories="$(BuildDirs);$(OutputDir)" />
</Target>

<Target Name="Build" DependsOnTargets="Clean">
Expand Down
Binary file removed Lib/MSBuild.ExtensionPack/Interop.COMAdmin.dll
Binary file not shown.
Binary file not shown.
Binary file removed Lib/MSBuild.ExtensionPack/Ionic.Zip.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
127 changes: 0 additions & 127 deletions Lib/MSBuild.ExtensionPack/MSBuild.ExtensionPack.VersionNumber.targets

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed Lib/MSBuild.ExtensionPack/MSBuild.ExtensionPack.dll
Binary file not shown.
10 changes: 0 additions & 10 deletions Lib/MSBuild.ExtensionPack/MSBuild.ExtensionPack.dll.config

This file was deleted.

Binary file removed Lib/MSBuild.ExtensionPack/MSBuild.ExtensionPack.pdb
Binary file not shown.

0 comments on commit 0a5f536

Please sign in to comment.