Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 143 lines (118 sloc) 6.386 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="PackageArtefacts" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <PropertyGroup>
    <VersionMajor>2</VersionMajor>
<VersionMinor>0</VersionMinor>
<VersionPatch>2</VersionPatch>
<VersionPreRelease></VersionPreRelease>
  </PropertyGroup>

  <PropertyGroup>
    <RunMSpecTests>True</RunMSpecTests>
<MSpecRunner>mspec-clr4.exe</MSpecRunner>
    <MSpecSpecificationAssemblies>"$(MSBuildProjectDirectory)\..\Solutions\SharpArch.Specifications\Bin\Release\SharpArch.Specifications.dll"</MSpecSpecificationAssemblies>
  </PropertyGroup>

  <ItemGroup>
    <AssembliesToTestWithNUnit Include="$(SolutionsPath)\SharpArch.Tests\bin\Release\SharpArch.Tests.dll;" />
  </ItemGroup>

  <ItemGroup>
    <PackageFiles Include="$(SolutionsPath)\**\*.*"
                       Exclude="$(SolutionsPath)\**\bin\**;
                                  $(SolutionsPath)\**\Logs\**;
                                  $(SolutionsPath)\**\obj\**;
                                  $(SolutionsPath)\**\*.suo;
                                  $(SolutionsPath)\**\*.cache;
                                  $(SolutionsPath)\**\_ReSharper*\**;
                                  $(SolutionsPath)\**\*ReSharper*">
      <PackageName>$(DropsPath)\$(SemanticVersion)\$(PackageName).Source.v$(SemanticVersion).zip</PackageName>
      <WorkingDirectory>$(SolutionsPath)</WorkingDirectory>
      <Flatten>False</Flatten>
    </PackageFiles>

    <PackageFiles Include="$(SolutionsPath)\SharpArch.Domain\bin\Release\SharpArch.Domain.dll;
                         $(SolutionsPath)\SharpArch.WcfClient.Castle\bin\Release\SharpArch.WcfClient.Castle.dll;
                         $(SolutionsPath)\SharpArch.NHibernate\bin\Release\SharpArch.NHibernate.dll;
                         $(SolutionsPath)\SharpArch.RavenDb\bin\Release\SharpArch.RavenDb.dll;
                         $(SolutionsPath)\SharpArch.Wcf\bin\Release\SharpArch.Wcf.dll;
                         $(SolutionsPath)\SharpArch.Web.Mvc\bin\Release\SharpArch.Web.Mvc.dll;
                         $(SolutionsPath)\SharpArch.Testing\bin\Release\SharpArch.Testing.dll;
                         $(SolutionsPath)\SharpArch.Testing.NUnit\bin\Release\SharpArch.Testing.NUnit.dll;">
      <PackageName>$(DropsPath)\$(SemanticVersion)\$(PackageName).dlls.v$(SemanticVersion).zip</PackageName>
      <WorkingDirectory>$(SolutionsPath)</WorkingDirectory>
      <Flatten>True</Flatten>
    </PackageFiles>
  </ItemGroup>
  
  
  <ItemGroup>
    <NugetPackage Include="$(SolutionsPath)\SharpArch.Domain\bin\Release\SharpArch.Domain.dll;
$(SolutionsPath)\SharpArch.Domain\bin\Release\SharpArch.Domain.pdb;">
      <PackageName>SharpArch.Domain</PackageName>
<NuspecFile>SharpArch.Domain.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionsPath)\SharpArch.NHibernate\bin\Release\SharpArch.NHibernate.dll;
$(SolutionsPath)\SharpArch.NHibernate\bin\Release\SharpArch.NHibernate.pdb;">
      <PackageName>SharpArch.NHibernate</PackageName>
<NuspecFile>SharpArch.NHibernate.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionsPath)\SharpArch.RavenDB\bin\Release\SharpArch.RavenDB.dll;
$(SolutionsPath)\SharpArch.RavenDB\bin\Release\SharpArch.RavenDB.pdb;">
      <PackageName>SharpArch.RavenDB</PackageName>
<NuspecFile>SharpArch.RavenDB.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionsPath)\SharpArch.Web.Mvc\bin\Release\SharpArch.Web.Mvc.dll;
$(SolutionsPath)\SharpArch.Web.Mvc\bin\Release\SharpArch.Web.Mvc.pdb;">
      <PackageName>SharpArch.Web.Mvc.Castle</PackageName>
<NuspecFile>SharpArch.Web.Mvc.Castle.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionsPath)\SharpArch.Wcf\bin\Release\SharpArch.Wcf.dll;
$(SolutionsPath)\SharpArch.Wcf\bin\Release\SharpArch.Wcf.pdb;">
      <PackageName>SharpArch.Wcf</PackageName>
<NuspecFile>SharpArch.Wcf.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionsPath)\SharpArch.Testing.NUnit\bin\Release\SharpArch.Testing.NUnit.dll;
$(SolutionsPath)\SharpArch.Testing.NUnit\bin\Release\SharpArch.Testing.NUnit.pdb;">
      <PackageName>SharpArch.Testing.NUnit</PackageName>
<NuspecFile>SharpArch.Testing.NUnit.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionRoot)\License.txt;">
      <PackageName>sharp-architecture</PackageName>
<NuspecFile>sharp-architecture.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionRoot)\License.txt;">
      <PackageName>SharpArch.Web.RavenDB</PackageName>
<NuspecFile>SharpArch.Web.RavenDB.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionRoot)\License.txt;">
      <PackageName>SharpArch.Wcf.NHibernate</PackageName>
<NuspecFile>SharpArch.Wcf.NHibernate.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionRoot)\License.txt;">
      <PackageName>SharpArch.Wcf.RavenDB</PackageName>
<NuspecFile>SharpArch.Wcf.RavenDB.nuspec</NuspecFile>
    </NugetPackage>

<NugetPackage Include="$(SolutionsPath)\SharpArch.WcfClient.Castle\bin\Release\SharpArch.WcfClient.Castle.dll;
$(SolutionsPath)\SharpArch.WcfClient.Castle\bin\Release\SharpArch.WcfClient.Castle.pdb;">
      <PackageName>SharpArch.WcfClient.Castle</PackageName>
<NuspecFile>SharpArch.WcfClient.Castle.nuspec</NuspecFile>
    </NugetPackage>
  </ItemGroup>
  
  <PropertyGroup>
    <SolutionName>SharpArch</SolutionName>
    <SolutionsPath>$(MSBuildProjectDirectory)\..\Solutions</SolutionsPath>
    <BuildPath>$(MSBuildProjectDirectory)\..\BuildSystem</BuildPath>
  </PropertyGroup>

  <Import Project="$(BuildPath)\BuildSystem.proj" />

  <Target Name="Build"
        DependsOnTargets="CleanSolution;
                            UpdateAssemblyVersion;
                            BuildSolutions;" />

  <Target Name="RunTests"
          DependsOnTargets="Build;
                            RunNUnitTests;" />

  <Target Name="RunSpecs"
      DependsOnTargets="RunMSpecSpecifications;" />

  
  <Target Name="PackageArtefacts"
          DependsOnTargets="Build;
RunTests;
RunSpecs;
                            Package;
PackageNuget;
                            BuildSuccess" />

</Project>
Something went wrong with that request. Please try again.