forked from tsai/mathnet-numerics
3 changed files with 76 additions and 35 deletions
@ -0,0 +1,28 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
||||
|
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> |
||||
|
<id>MathNet.Numerics.FSharp</id> |
||||
|
<version>1.0</version> |
||||
|
<title>Math.NET Numerics Extension: F# Modules</title> |
||||
|
<summary> |
||||
|
F# Modules for Math.NET Numerics, providing methods and algorithms for |
||||
|
numerical computations in science, engineering and every day use. |
||||
|
</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> |
||||
|
<authors>Marcus Cuda, Christoph Ruegg, Jurgen Van Gael</authors> |
||||
|
<owners>Christoph Ruegg</owners> |
||||
|
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> |
||||
|
<iconUrl>http://www.mathdotnet.com/images/MathNet32.png</iconUrl> |
||||
|
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
||||
|
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
||||
|
<tags>math numeric statistics probability integration interpolation linear algebra matrix fft</tags> |
||||
|
<dependencies> |
||||
|
<dependency id="MathNet.Numerics" version="1.0" /> |
||||
|
</dependencies> |
||||
|
</metadata> |
||||
|
</package> |
||||
@ -1,28 +1,28 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
||||
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> |
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> |
||||
<id>MathNet.Numerics</id> |
<id>MathNet.Numerics</id> |
||||
<version>1.0</version> |
<version>1.0</version> |
||||
<title>Math.NET Numerics</title> |
<title>Math.NET Numerics</title> |
||||
<summary> |
<summary> |
||||
Math.NET Numerics, providing methods and algorithms for |
Math.NET Numerics, providing methods and algorithms for |
||||
numerical computations in science, engineering and every day use. |
numerical computations in science, engineering and every day use. |
||||
</summary> |
</summary> |
||||
<description> |
<description> |
||||
Math.NET Numerics is the numerical foundation of the Math.NET project, |
Math.NET Numerics is the numerical foundation of the Math.NET project, |
||||
aiming to provide methods and algorithms for numerical computations |
aiming to provide methods and algorithms for numerical computations |
||||
in science, engineering and every day use. Numerics is the result |
in science, engineering and every day use. Numerics is the result |
||||
of merging dnAnalytics with Math.NET Iridium and is intended to replace both. |
of merging dnAnalytics with Math.NET Iridium and is intended to replace both. |
||||
</description> |
</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> |
||||
<iconUrl>http://www.mathdotnet.com/images/MathNet32.png</iconUrl> |
<iconUrl>http://www.mathdotnet.com/images/MathNet32.png</iconUrl> |
||||
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
||||
<tags>math numeric statistics probability integration interpolation linear algebra matrix fft</tags> |
<tags>math numeric statistics probability integration interpolation linear algebra matrix fft</tags> |
||||
<dependencies> |
<dependencies> |
||||
<dependency id="zlib.net" version="1.0" /> |
<dependency id="zlib.net" version="1.0" /> |
||||
</dependencies> |
</dependencies> |
||||
</metadata> |
</metadata> |
||||
</package> |
</package> |
||||
@ -1,43 +1,56 @@ |
|||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="BuildPackages" ToolsVersion="4.0"> |
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="BuildPackages" ToolsVersion="4.0"> |
||||
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)/../MSBuild.Community.Tasks.v1.2.0.306/MSBuild.Community.Tasks.dll" TaskName="MSBuild.Community.Tasks.XmlUpdate" /> |
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)/../MSBuild.Community.Tasks.v1.2.0.306/MSBuild.Community.Tasks.dll" TaskName="MSBuild.Community.Tasks.XmlUpdate" /> |
||||
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)/../MSBuild.ExtensionPack.4.0.2.0/MSBuild.ExtensionPack.dll" TaskName="MSBuild.ExtensionPack.FileSystem.RoboCopy" /> |
|
||||
|
|
||||
<PropertyGroup> |
<PropertyGroup> |
||||
<OutLib>$(MSBuildProjectDirectory)/../../out/lib</OutLib> |
<OutLib>$(MSBuildProjectDirectory)/../../out/lib</OutLib> |
||||
<OutNuGetPackages>$(MSBuildProjectDirectory)/../../out/packages/NuGet</OutNuGetPackages> |
<OutNuGetPackages>$(MSBuildProjectDirectory)/../../out/packages/NuGet</OutNuGetPackages> |
||||
<NumericsPack>$(MSBuildProjectDirectory)/Numerics</NumericsPack> |
<NumericsPack>$(MSBuildProjectDirectory)/Numerics</NumericsPack> |
||||
|
<FSharpPack>$(MSBuildProjectDirectory)/FSharp</FSharpPack> |
||||
<NuGetExe>$(MSBuildProjectDirectory)/../../tools/NuGet-1.2/NuGet.exe</NuGetExe> |
<NuGetExe>$(MSBuildProjectDirectory)/../../tools/NuGet-1.2/NuGet.exe</NuGetExe> |
||||
</PropertyGroup> |
</PropertyGroup> |
||||
|
|
||||
<ItemGroup> |
<ItemGroup> |
||||
<NumericsNet40 Include=" |
<NumericsNet40 Include="$(OutLib)/Net40/MathNet.Numerics.dll;$(OutLib)/Net40/MathNet.Numerics.pdb;$(OutLib)/Net40/MathNet.Numerics.xml" /> |
||||
$(OutLib)/Net40/MathNet.Numerics.dll;$(OutLib)/Net40/MathNet.Numerics.pdb;$(OutLib)/Net40/MathNet.Numerics.xml" /> |
<NumericsSL4 Include="$(OutLib)/SL4/MathNet.Numerics.dll;$(OutLib)/SL4/MathNet.Numerics.pdb;$(OutLib)/SL4/MathNet.Numerics.xml;" /> |
||||
<NumericsSL4 Include=" |
<FSharpNet40 Include="$(OutLib)/Net40/MathNet.Numerics.FSharp.dll;$(OutLib)/Net40/MathNet.Numerics.FSharp.pdb;$(OutLib)/Net40/MathNet.Numerics.FSharp.xml" /> |
||||
$(OutLib)/SL4/MathNet.Numerics.dll;$(OutLib)/SL4/MathNet.Numerics.pdb;$(OutLib)/SL4/MathNet.Numerics.xml;" /> |
|
||||
</ItemGroup> |
</ItemGroup> |
||||
|
|
||||
<Target Name="CopyContentFiles"> |
<Target Name="CopyContentFiles"> |
||||
<RemoveDir Directories="$(NumericsPack)/lib" /> |
<RemoveDir Directories="$(NumericsPack)/lib" /> |
||||
<Copy SourceFiles="@(NumericsNet40)" DestinationFolder="$(NumericsPack)/lib/Net40" /> |
<Copy SourceFiles="@(NumericsNet40)" DestinationFolder="$(NumericsPack)/lib/Net40" /> |
||||
<Copy SourceFiles="@(NumericsSL4)" DestinationFolder="$(NumericsPack)/lib/SL4" /> |
<Copy SourceFiles="@(NumericsSL4)" DestinationFolder="$(NumericsPack)/lib/SL4" /> |
||||
<!-- <RoboCopy Source="$(MSBuildProjectDirectory)/../../out/lib/" Destination="$(MSBuildProjectDirectory)/Numerics/lib" Files="*.*" Options="/MIR" /> --> |
<RemoveDir Directories="$(FSharpPack)/lib" /> |
||||
|
<Copy SourceFiles="@(FSharpNet40)" DestinationFolder="$(FSharpPack)/lib/Net40" /> |
||||
</Target> |
</Target> |
||||
|
|
||||
<Target Name="UpdateNuspec" DependsOnTargets="CopyContentFiles"> |
<Target Name="UpdateNuspec" DependsOnTargets="CopyContentFiles"> |
||||
<GetAssemblyIdentity AssemblyFiles="$(NumericsPack)/lib/Net40/MathNet.Numerics.dll"> |
<GetAssemblyIdentity AssemblyFiles="$(NumericsPack)/lib/Net40/MathNet.Numerics.dll"> |
||||
<Output TaskParameter="Assemblies" ItemName="MathNetNumericsAssemblyInfo"/> |
<Output TaskParameter="Assemblies" ItemName="NumericsAssemblyInfo"/> |
||||
|
</GetAssemblyIdentity> |
||||
|
<GetAssemblyIdentity AssemblyFiles="$(FSharpPack)/lib/Net40/MathNet.Numerics.FSharp.dll"> |
||||
|
<Output TaskParameter="Assemblies" ItemName="FSharpAssemblyInfo"/> |
||||
</GetAssemblyIdentity> |
</GetAssemblyIdentity> |
||||
<XmlUpdate |
<XmlUpdate |
||||
Prefix="n" |
Prefix="n" Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" |
||||
Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" |
|
||||
XmlFileName="$(NumericsPack)/MathNet.Numerics.nuspec" |
XmlFileName="$(NumericsPack)/MathNet.Numerics.nuspec" |
||||
XPath="//package/n:metadata/n:version" |
XPath="//package/n:metadata/n:version" |
||||
Value="%(MathNetNumericsAssemblyInfo.Version)"/> |
Value="%(NumericsAssemblyInfo.Version)"/> |
||||
|
<XmlUpdate |
||||
|
Prefix="n" Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" |
||||
|
XmlFileName="$(FSharpPack)/MathNet.Numerics.FSharp.nuspec" |
||||
|
XPath="//package/n:metadata/n:version" |
||||
|
Value="%(FSharpAssemblyInfo.Version)"/> |
||||
|
<XmlUpdate |
||||
|
Prefix="n" Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" |
||||
|
XmlFileName="$(FSharpPack)/MathNet.Numerics.FSharp.nuspec" |
||||
|
XPath="//package/n:metadata/n:dependencies/n:dependency[@id='MathNet.Numerics']/@version" |
||||
|
Value="%(NumericsAssemblyInfo.Version)"/> |
||||
</Target> |
</Target> |
||||
|
|
||||
<Target Name="BuildPackages" DependsOnTargets="UpdateNuspec"> |
<Target Name="BuildPackages" DependsOnTargets="UpdateNuspec"> |
||||
<MakeDir Directories="$(OutNuGetPackages)" /> |
<MakeDir Directories="$(OutNuGetPackages)" /> |
||||
<Exec Command="$(NuGetExe) pack $(NumericsPack)/MathNet.Numerics.nuspec /v /o $(OutNuGetPackages)" /> |
<Exec Command="$(NuGetExe) pack $(NumericsPack)/MathNet.Numerics.nuspec /v /o $(OutNuGetPackages)" /> |
||||
|
<Exec Command="$(NuGetExe) pack $(FSharpPack)/MathNet.Numerics.FSharp.nuspec /v /o $(OutNuGetPackages)" /> |
||||
</Target> |
</Target> |
||||
|
|
||||
</Project> |
</Project> |
||||
Loading…
Reference in new issue