Browse Source

NuGet: fix sample package content folder and desc

pull/36/head
Christoph Ruegg 16 years ago
parent
commit
325eff6437
  1. 3
      build/NuGet/.gitignore
  2. 4
      build/NuGet/FSharp.Sample/MathNet.Numerics.FSharp.Sample.nuspec
  3. 4
      build/NuGet/Numerics.Sample/MathNet.Numerics.Sample.nuspec
  4. 8
      build/NuGet/nuget.proj

3
build/NuGet/.gitignore

@ -1,3 +1,2 @@
lib lib
content content
samples

4
build/NuGet/FSharp.Sample/MathNet.Numerics.FSharp.Sample.nuspec

@ -4,8 +4,8 @@
<id>MathNet.Numerics.FSharp.Sample</id> <id>MathNet.Numerics.FSharp.Sample</id>
<version>1.0</version> <version>1.0</version>
<title>Math.NET Numerics F# Module Code Samples</title> <title>Math.NET Numerics F# Module Code Samples</title>
<summary>F# Modules for Math.NET Numerics, providing methods and algorithms for numerical computations in science, engineering and every day use.</summary> <summary>This package contains samples that demonstrate the use of the F# Modules for the Math.NET Numerics library.</summary>
<description>F# Modules for Math.NET Numerics, the numerical foundation of the Math.NET project, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use. Numerics is the result of merging dnAnalytics with Math.NET Iridium and is intended to replace both.</description> <description>This package contains samples that demonstrate the use of the F# Modules for the Math.NET Numerics library. Math.NET Numerics is the numerical foundation of the Math.NET project, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use. Numerics is the result of merging dnAnalytics with Math.NET Iridium and is intended to replace both.</description>
<authors>Marcus Cuda, Christoph Ruegg, Jurgen Van Gael</authors> <authors>Marcus Cuda, Christoph Ruegg, Jurgen Van Gael</authors>
<owners>Christoph Ruegg</owners> <owners>Christoph Ruegg</owners>
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> <projectUrl>http://numerics.mathdotnet.com/</projectUrl>

4
build/NuGet/Numerics.Sample/MathNet.Numerics.Sample.nuspec

@ -4,8 +4,8 @@
<id>MathNet.Numerics.Sample</id> <id>MathNet.Numerics.Sample</id>
<version>1.0</version> <version>1.0</version>
<title>Math.NET Numerics Code Samples</title> <title>Math.NET Numerics Code Samples</title>
<summary>Math.NET Numerics, providing methods and algorithms for numerical computations in science, engineering and every day use.</summary> <summary>This package contains samples that demonstrate the use of the Math.NET Numerics library.</summary>
<description>Math.NET Numerics is the numerical foundation of the Math.NET project, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use. Numerics is the result of merging dnAnalytics with Math.NET Iridium and is intended to replace both.</description> <description>This package contains samples that demonstrate the use of the Math.NET Numerics library. Math.NET Numerics is the numerical foundation of the Math.NET project, aiming to provide methods and algorithms for numerical computations in science, engineering and every day use. Numerics is the result of merging dnAnalytics with Math.NET Iridium and is intended to replace both.</description>
<authors>Marcus Cuda, Christoph Ruegg, Jurgen Van Gael</authors> <authors>Marcus Cuda, Christoph Ruegg, Jurgen Van Gael</authors>
<owners>Christoph Ruegg</owners> <owners>Christoph Ruegg</owners>
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> <projectUrl>http://numerics.mathdotnet.com/</projectUrl>

8
build/NuGet/nuget.proj

@ -37,10 +37,10 @@
<Copy SourceFiles="@(FSharpNet40)" DestinationFolder="$(FSharpPack)/lib/Net40" /> <Copy SourceFiles="@(FSharpNet40)" DestinationFolder="$(FSharpPack)/lib/Net40" />
<RemoveDir Directories="$(NumericsSamplePack)/Samples" /> <RemoveDir Directories="$(NumericsSamplePack)/Samples" />
<Copy SourceFiles="@(NumericsSample)" DestinationFiles="$(NumericsSamplePack)/Samples/MathNet.Numerics/%(RecursiveDir)%(Filename).cs.pp" /> <Copy SourceFiles="@(NumericsSample)" DestinationFiles="$(NumericsSamplePack)/content/Samples/MathNet.Numerics/%(RecursiveDir)%(Filename).cs.pp" />
<RemoveDir Directories="$(FSharpSamplePack)/Samples" /> <RemoveDir Directories="$(FSharpSamplePack)/Samples" />
<Copy SourceFiles="@(FSharpSample)" DestinationFiles="$(FSharpSamplePack)/Samples/MathNet.Numerics.FSharp/%(RecursiveDir)%(Filename).fs.pp" /> <Copy SourceFiles="@(FSharpSample)" DestinationFiles="$(FSharpSamplePack)/content/Samples/MathNet.Numerics.FSharp/%(RecursiveDir)%(Filename).fs.pp" />
</Target> </Target>
<Target Name="UpdateNuspec" DependsOnTargets="CopyContentFiles"> <Target Name="UpdateNuspec" DependsOnTargets="CopyContentFiles">
@ -78,7 +78,7 @@
XPath="//package/n:metadata/n:dependencies/n:dependency[@id='MathNet.Numerics']/@version" XPath="//package/n:metadata/n:dependencies/n:dependency[@id='MathNet.Numerics']/@version"
Value="%(NumericsAssemblyInfo.Version)"/> Value="%(NumericsAssemblyInfo.Version)"/>
<ItemGroup> <ItemGroup>
<NumericsSamplePreprocessingFiles Include="$(NumericsSamplePack)/Samples/MathNet.Numerics/**/*.pp" /> <NumericsSamplePreprocessingFiles Include="$(NumericsSamplePack)/content/Samples/MathNet.Numerics/**/*.pp" />
</ItemGroup> </ItemGroup>
<FileUpdate <FileUpdate
Files="@(NumericsSamplePreprocessingFiles)" Files="@(NumericsSamplePreprocessingFiles)"
@ -96,7 +96,7 @@
XPath="//package/n:metadata/n:dependencies/n:dependency[@id='MathNet.Numerics.FSharp']/@version" XPath="//package/n:metadata/n:dependencies/n:dependency[@id='MathNet.Numerics.FSharp']/@version"
Value="%(FSharpAssemblyInfo.Version)"/> Value="%(FSharpAssemblyInfo.Version)"/>
<ItemGroup> <ItemGroup>
<FSharpSamplePreprocessingFiles Include="$(FSharpSamplePack)/Samples/MathNet.Numerics.FSharp/**/*.pp" /> <FSharpSamplePreprocessingFiles Include="$(FSharpSamplePack)/content/Samples/MathNet.Numerics.FSharp/**/*.pp" />
</ItemGroup> </ItemGroup>
<FileUpdate <FileUpdate
Files="@(FSharpSamplePreprocessingFiles)" Files="@(FSharpSamplePreprocessingFiles)"

Loading…
Cancel
Save