Browse Source

docs are now built at release time, not test time. still need to add creating a zip file and simplifing build file using properties

Signed-off-by: Marcus Cuda <marcus@cuda.net>
pull/2/head
Marcus Cuda 17 years ago
parent
commit
51793623fc
  1. 3
      build/.gitignore
  2. 16
      build/build.proj
  3. 4
      build/mathnet-numerics.shfbproj
  4. 4
      src/Managed/Managed.csproj

3
build/.gitignore

@ -1,2 +1,3 @@
StyleCopViolations.xml
Help
Help
doc

16
build/build.proj

@ -2,11 +2,15 @@
<UsingTask TaskName="MSBuild.ExtensionPack.CodeQuality.StyleCop" AssemblyFile=".\MSBuild_Extension_Pack_3.5.3\StyleCop\MSBuild.ExtensionPack.StyleCop.dll" />
<UsingTask TaskName="Gallio.MSBuildTasks.Gallio" AssemblyFile="..\lib\Gallio_3.0.6.787\bin\Gallio.MSBuildTasks.dll" />
<Target Name="CompileManaged">
<MSBuild Projects="../src/Managed.UnitTests/Managed.UnitTests.csproj" />
<Target Name="CompileManagedDebug">
<MSBuild Projects="../src/Managed.UnitTests/Managed.UnitTests.csproj" Properties="Configuration=Debug"/>
</Target>
<Target Name="TestManaged" DependsOnTargets="CompileManaged">
<Target Name="CompileManagedRelease">
<MSBuild Projects="../src/Managed.UnitTests/Managed.UnitTests.csproj" Properties="Configuration=Release;Optimize=True"/>
</Target>
<Target Name="TestManaged" DependsOnTargets="CompileManagedDebug">
<Gallio.MSBuildTasks.Gallio
ContinueOnError="False"
IgnoreFailures="False"
@ -37,9 +41,11 @@
</Target>
<Target Name="BuildDocs">
<Target Name="BuildDocs" DependsOnTargets="CompileManagedRelease">
<MSBuild Projects="./mathnet-numerics.shfbproj" />
</Target>
<Target Name="BuildAndTestManaged" DependsOnTargets="TestManaged; StyleManaged; BuildDocs"></Target>
<Target Name="BuildAndTestManaged" DependsOnTargets="TestManaged; StyleManaged"></Target>
<Target Name="Release" DependsOnTargets="BuildDocs"></Target>
</Project>

4
build/mathnet-numerics.shfbproj

@ -21,8 +21,8 @@
<SandcastlePath>..\tools\Sandcastle\</SandcastlePath>
<WorkingPath>doc\</WorkingPath>
<DocumentationSources>
<DocumentationSource sourceFile="..\src\Managed\bin\Debug\MathNet.Numerics.dll" xmlns="" />
<DocumentationSource sourceFile="..\src\Managed\bin\Debug\MathNet.Numerics.XML" xmlns="" /></DocumentationSources>
<DocumentationSource sourceFile="..\src\Managed\bin\Release\MathNet.Numerics.dll" />
<DocumentationSource sourceFile="..\src\Managed\bin\Release\MathNet.Numerics.xml" /></DocumentationSources>
<Preliminary>True</Preliminary>
</PropertyGroup>
<!-- There are no properties for these two groups but they need to appear in

4
src/Managed/Managed.csproj

@ -23,7 +23,8 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\MathNet.Numerics.XML</DocumentationFile>
<DocumentationFile>
</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -32,6 +33,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\MathNet.Numerics.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

Loading…
Cancel
Save