LSTANCZYK
10/16/2014 - 6:57 PM

PicklesMsBuild.proj

<Project 
    DefaultTargets="documentSpecs"
    xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <UsingTask AssemblyFile="$(MSBuildProjectDirectory)\pickles\msbuild\PicklesDoc.Pickles.MSBuild.Tasks.dll" TaskName="Pickles" />

  <PropertyGroup>
    <!-- See here for arguments: https://github.com/picklesdoc/pickles/wiki/Arguments -->
    <FeatureDirectory>$(MSBuildProjectDirectory)\Specs</FeatureDirectory>
    <OutputDirectory>$(MSBuildProjectDirectory)\MSBuildOutput</OutputDirectory>
    <SystemUnderTestName>Tradera Awesome</SystemUnderTestName>
    <SystemUnderTestVersion>2.4.2.1</SystemUnderTestVersion>
    <ResultsFormat>nunit</ResultsFormat> <!-- mstest -->
    <ResultsFile>$(MSBuildProjectDirectory)\Specs\bin\Debug\TestResult.xml</ResultsFile>
    <DocumentationFormat>html</DocumentationFormat> <!-- json, word, dita-->
  </PropertyGroup>

  <Target Name="documentSpecs">
    <MakeDir Directories="$(OutputDirectory)" />
    <Pickles FeatureDirectory="$(FeatureDirectory)" 
             OutputDirectory="$(OutputDirectory)"
             ResultsFormat="$(ResultsFormat)"
             ResultsFile="$(ResultsFile)"
             SystemUnderTestName="$(SystemUnderTestName)"
             SystemUnderTestVersion="$(SystemUnderTestVersion)"
             DocumentationFormat="$(DocumentationFormat)"/>
  </Target>
</Project>