Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (35 sloc) 1.807 kb
bb7efcc @davidfowl Added build script and build.cmd.
davidfowl authored
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.0" DefaultTargets="RunAll" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <PropertyGroup>
4 <Configuration Condition="$(Configuration) == ''">Debug</Configuration>
5 <ProjectRoot>$(MSBuildProjectDirectory)\..</ProjectRoot>
6 <ToolsPath>$(ProjectRoot)\tools\</ToolsPath>
7 <XunitPath>$(ToolsPath)xunit\</XunitPath>
d070bb5 @davidfowl Produce the site as a runnable server application as part of build.
davidfowl authored
8 <ArtifactsPath>$(ProjectRoot)\target</ArtifactsPath>
9 <SiteArtifactsPath>$(ArtifactsPath)\site</SiteArtifactsPath>
bb7efcc @davidfowl Added build script and build.cmd.
davidfowl authored
10 </PropertyGroup>
11
12 <ItemGroup>
2f31f15 @davidfowl Rename JabbR.Test to JabbR.Tests. (ocd)
davidfowl authored
13 <TestProjects Include="$(ProjectRoot)\JabbR.Tests\bin\$(Configuration)\JabbR.Tests.dll" />
bb7efcc @davidfowl Added build script and build.cmd.
davidfowl authored
14 </ItemGroup>
15
16 <UsingTask AssemblyFile="$(XunitPath)xunit.runner.msbuild.dll"
17 TaskName="Xunit.Runner.MSBuild.xunit" />
18
d070bb5 @davidfowl Produce the site as a runnable server application as part of build.
davidfowl authored
19 <Target Name="RunAll" DependsOnTargets="Build; RunTests; Package" />
20
21 <Target Name="MakeArtifactsPath">
22 <MakeDir Directories="$(SiteArtifactsPath)" Condition="!Exists('$(SiteArtifactsPath)')" />
23 </Target>
bb7efcc @davidfowl Added build script and build.cmd.
davidfowl authored
24
25 <Target Name="RunTests">
26 <xunit Assembly="%(TestProjects.FullPath)" />
27 </Target>
28
29 <Target Name="Build">
30 <MSBuild Projects="$(ProjectRoot)\JabbR.sln"
31 Targets="Build"
32 Properties="Configuration=$(Configuration)" />
33 </Target>
d070bb5 @davidfowl Produce the site as a runnable server application as part of build.
davidfowl authored
34
35 <Target Name="Package" DependsOnTargets="MakeArtifactsPath">
36 <MSBuild Projects="$(ProjectRoot)\JabbR\JabbR.csproj"
37 Targets="pipelinePreDeployCopyAllFilesToOneFolder"
38 Properties="_PackageTempDir=$(SiteArtifactsPath);
39 AutoParameterizationWebConfigConnectionStrings=false;
40 SolutionDir=$(ProjectRoot)\;" />
41 </Target>
bb7efcc @davidfowl Added build script and build.cmd.
davidfowl authored
42 </Project>
Something went wrong with that request. Please try again.