forked from tsai/mathnet-numerics
13 changed files with 4 additions and 316 deletions
@ -1,4 +0,0 @@ |
|||
lib |
|||
content |
|||
readme.txt |
|||
license.txt |
|||
@ -1,23 +0,0 @@ |
|||
<?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.Sample</id> |
|||
<version>1.0.0</version> |
|||
<title>Math.NET Numerics for F# - Code Samples</title> |
|||
<summary>This package contains samples that demonstrate the use of the F# Modules for the Math.NET Numerics library.</summary> |
|||
<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>Christoph Ruegg, Marcus Cuda, Jurgen Van Gael</authors> |
|||
<owners>Christoph Ruegg</owners> |
|||
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> |
|||
<iconUrl>http://www.mathdotnet.com/images/MathNet128.png</iconUrl> |
|||
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
|||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
|||
<tags>sample code math fsharp numeric statistics probability integration interpolation regression solve fit linear algebra matrix fft example tutorial</tags> |
|||
<dependencies> |
|||
<dependency id="MathNet.Numerics.FSharp" version="1.0.0" /> |
|||
</dependencies> |
|||
<frameworkAssemblies> |
|||
<frameworkAssembly assemblyName="System.Numerics" targetFramework="net40, net45, windows8, sl5" /> |
|||
</frameworkAssemblies> |
|||
</metadata> |
|||
</package> |
|||
@ -1,23 +0,0 @@ |
|||
<?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.Signed</id> |
|||
<version>1.0.0</version> |
|||
<title>Math.NET Numerics for F# - Signed Edition</title> |
|||
<summary>F# Modules for Math.NET Numerics, signed and thus with a strong name. We recommend to use MathNet.Numerics.FSharp instead, which is unsigned and weakly named. .Net 4.</summary> |
|||
<description>F# Modules for Math.NET Numerics, signed and thus with a strong name. We discourage using this package and recommend using MathNet.Numerics.FSharp instead, which is unsigned and weakly named. Supports .Net 4.0.</description> |
|||
<authors>Christoph Ruegg, Marcus Cuda, Jurgen Van Gael</authors> |
|||
<owners>Christoph Ruegg</owners> |
|||
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> |
|||
<iconUrl>http://www.mathdotnet.com/images/MathNet128.png</iconUrl> |
|||
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
|||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
|||
<tags>math fsharp F# numeric statistics probability integration interpolation regression solve fit linear algebra matrix fft signed strongname</tags> |
|||
<dependencies> |
|||
<dependency id="MathNet.Numerics.Signed" version="1.0.0" /> |
|||
</dependencies> |
|||
<frameworkAssemblies> |
|||
<frameworkAssembly assemblyName="System.Numerics" targetFramework="net40, net45, windows8, sl5" /> |
|||
</frameworkAssemblies> |
|||
</metadata> |
|||
</package> |
|||
@ -1,23 +0,0 @@ |
|||
<?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.0</version> |
|||
<title>Math.NET Numerics for F#</title> |
|||
<summary>F# Modules for Math.NET Numerics, providing methods and algorithms for numerical computations in science, engineering and every day use. F# 3.0 on .Net 4, SL5, Win8, WP8, WPA8.1, PCL 47 and 344, Mono, Xamarin Android/iOS.</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. Supports .Net 4.0 and Mono (Windows, Linux, Mac), PCL Portable Profiles 47 and 344 (Silverlight 5, Windows Phone/SL 8, Windows Phone 8.1, Windows 8), and Android/iOS via Xamarin.</description> |
|||
<authors>Christoph Ruegg, Marcus Cuda, Jurgen Van Gael</authors> |
|||
<owners>Christoph Ruegg</owners> |
|||
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> |
|||
<iconUrl>http://www.mathdotnet.com/images/MathNet128.png</iconUrl> |
|||
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
|||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
|||
<tags>math fsharp F# numeric statistics probability integration interpolation regression solve fit linear algebra matrix fft</tags> |
|||
<dependencies> |
|||
<dependency id="MathNet.Numerics" version="1.0.0" /> |
|||
</dependencies> |
|||
<frameworkAssemblies> |
|||
<frameworkAssembly assemblyName="System.Numerics" targetFramework="net40, net45, windows8, sl5" /> |
|||
</frameworkAssemblies> |
|||
</metadata> |
|||
</package> |
|||
@ -1,23 +0,0 @@ |
|||
<?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.Sample</id> |
|||
<version>1.0.0</version> |
|||
<title>Math.NET Numerics - Code Samples</title> |
|||
<summary>This package contains samples that demonstrate the use of the Math.NET Numerics library.</summary> |
|||
<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>Christoph Ruegg, Marcus Cuda, Jurgen Van Gael</authors> |
|||
<owners>Christoph Ruegg</owners> |
|||
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> |
|||
<iconUrl>http://www.mathdotnet.com/images/MathNet128.png</iconUrl> |
|||
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
|||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
|||
<tags>sample code math numeric statistics probability integration interpolation regression solve fit linear algebra matrix fft example tutorial</tags> |
|||
<dependencies> |
|||
<dependency id="MathNet.Numerics" version="1.0.0" /> |
|||
</dependencies> |
|||
<frameworkAssemblies> |
|||
<frameworkAssembly assemblyName="System.Numerics" targetFramework="net40, net45, windows8, sl5" /> |
|||
</frameworkAssemblies> |
|||
</metadata> |
|||
</package> |
|||
@ -1,20 +0,0 @@ |
|||
<?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.Signed</id> |
|||
<version>1.0.0</version> |
|||
<title>Math.NET Numerics - Signed Edition</title> |
|||
<summary>Math.NET Numerics, signed and thus with a strong name. We recommend to use MathNet.Numerics instead, which is unsigned and weakly named. .Net 4.</summary> |
|||
<description>Math.NET Numerics, signed and thus with a strong name. We discourage using this package and recommend using MathNet.Numerics instead, which is unsigned and weakly named. Supports .Net 4.0.</description> |
|||
<authors>Christoph Ruegg, Marcus Cuda, Jurgen Van Gael</authors> |
|||
<owners>Christoph Ruegg</owners> |
|||
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> |
|||
<iconUrl>http://www.mathdotnet.com/images/MathNet128.png</iconUrl> |
|||
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
|||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
|||
<tags>math numeric statistics probability integration interpolation regression solve fit linear algebra matrix fft signed strongname</tags> |
|||
<frameworkAssemblies> |
|||
<frameworkAssembly assemblyName="System.Numerics" targetFramework="net40, net45, windows8, sl5" /> |
|||
</frameworkAssemblies> |
|||
</metadata> |
|||
</package> |
|||
@ -1,20 +0,0 @@ |
|||
<?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</id> |
|||
<version>1.0.0</version> |
|||
<title>Math.NET Numerics</title> |
|||
<summary>Math.NET Numerics, providing methods and algorithms for numerical computations in science, engineering and every day use. .Net 4, .Net 3.5, SL5, Win8, WP8, WPA8.1, PCL 47 and 344, Mono, Xamarin Android/iOS.</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. Supports .Net 4.0, .Net 3.5 and Mono (Windows, Linux, Mac), PCL Portable Profiles 47 and 344 (Silverlight 5, Windows Phone/SL 8, Windows Phone 8.1, Windows 8), and Android/iOS via Xamarin.</description> |
|||
<authors>Christoph Ruegg, Marcus Cuda, Jurgen Van Gael</authors> |
|||
<owners>Christoph Ruegg</owners> |
|||
<projectUrl>http://numerics.mathdotnet.com/</projectUrl> |
|||
<iconUrl>http://www.mathdotnet.com/images/MathNet128.png</iconUrl> |
|||
<licenseUrl>http://mathnetnumerics.codeplex.com/license</licenseUrl> |
|||
<requireLicenseAcceptance>false</requireLicenseAcceptance> |
|||
<tags>math numeric statistics probability integration interpolation regression solve fit linear algebra matrix fft</tags> |
|||
<frameworkAssemblies> |
|||
<frameworkAssembly assemblyName="System.Numerics" targetFramework="net40, net45, windows8, sl5" /> |
|||
</frameworkAssemblies> |
|||
</metadata> |
|||
</package> |
|||
@ -1,83 +0,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.FileUpdate" /> |
|||
|
|||
<PropertyGroup> |
|||
<NuGetExe>$(MSBuildProjectDirectory)/../../tools/NuGet/nuget.exe</NuGetExe> |
|||
<Root>$(MSBuildProjectDirectory)/../..</Root> |
|||
<OutLib>$(MSBuildProjectDirectory)/../../out/lib-signed</OutLib> |
|||
<OutNuGetPackages>$(MSBuildProjectDirectory)/../../out/packages/NuGet</OutNuGetPackages> |
|||
<NumericsPack>$(MSBuildProjectDirectory)/Numerics.Signed</NumericsPack> |
|||
<FSharpPack>$(MSBuildProjectDirectory)/FSharp.Signed</FSharpPack> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<NumericsNet40 Include="$(OutLib)/Net40/MathNet.Numerics.dll;$(OutLib)/Net40/MathNet.Numerics.pdb;$(OutLib)/Net40/MathNet.Numerics.xml" /> |
|||
<FSharpNet40 Include="$(OutLib)/Net40/MathNet.Numerics.FSharp.dll;$(OutLib)/Net40/MathNet.Numerics.FSharp.pdb;$(OutLib)/Net40/MathNet.Numerics.FSharp.xml" /> |
|||
</ItemGroup> |
|||
|
|||
<Target Name="CopyContentFiles"> |
|||
<RemoveDir Directories="$(NumericsPack)/content" /> |
|||
<Copy SourceFiles="$(Root)/RELEASENOTES.md" DestinationFiles="$(NumericsPack)/readme.txt" /> |
|||
<Copy SourceFiles="$(Root)/RELEASENOTES.md" DestinationFiles="$(FSharpPack)/readme.txt" /> |
|||
<Copy SourceFiles="$(Root)/LICENSE.md" DestinationFiles="$(NumericsPack)/license.txt" /> |
|||
<Copy SourceFiles="$(Root)/LICENSE.md" DestinationFiles="$(FSharpPack)/license.txt" /> |
|||
|
|||
<RemoveDir Directories="$(NumericsPack)/lib" /> |
|||
<Copy SourceFiles="@(NumericsNet40)" DestinationFolder="$(NumericsPack)/lib/net40" /> |
|||
|
|||
<RemoveDir Directories="$(FSharpPack)/lib" /> |
|||
<Copy SourceFiles="@(FSharpNet40)" DestinationFolder="$(FSharpPack)/lib/net40" /> |
|||
</Target> |
|||
|
|||
<Target Name="UpdateNuspec" DependsOnTargets="CopyContentFiles"> |
|||
|
|||
<!-- Evaluate Assembly Identity --> |
|||
<GetAssemblyIdentity AssemblyFiles="$(NumericsPack)/lib/Net40/MathNet.Numerics.dll"> |
|||
<Output TaskParameter="Assemblies" ItemName="NumericsAssemblyInfo"/> |
|||
</GetAssemblyIdentity> |
|||
<GetAssemblyIdentity AssemblyFiles="$(FSharpPack)/lib/Net40/MathNet.Numerics.FSharp.dll"> |
|||
<Output TaskParameter="Assemblies" ItemName="FSharpAssemblyInfo"/> |
|||
</GetAssemblyIdentity> |
|||
|
|||
<!-- Extract Assembly Versions --> |
|||
<PropertyGroup> |
|||
<NumericsAssemblyVersion>%(NumericsAssemblyInfo.Version)</NumericsAssemblyVersion> |
|||
<FSharpAssemblyVersion>%(FSharpAssemblyInfo.Version)</FSharpAssemblyVersion> |
|||
</PropertyGroup> |
|||
|
|||
<!-- Package Versions (skip 4th part/build number, for semvar compliance) --> |
|||
<PropertyGroup Condition="'$(semverPackage)' == ''"> |
|||
<NumericsPackVersion>$(NumericsAssemblyVersion.Substring(0, $(NumericsAssemblyVersion.LastIndexOf('.'))))</NumericsPackVersion> |
|||
<FSharpPackVersion>$(FSharpAssemblyVersion.Substring(0, $(FSharpAssemblyVersion.LastIndexOf('.'))))</FSharpPackVersion> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(semverPackage)' != ''"> |
|||
<NumericsPackVersion>$(semverPackage)</NumericsPackVersion> |
|||
<FSharpPackVersion>$(semverPackage)</FSharpPackVersion> |
|||
</PropertyGroup> |
|||
|
|||
<XmlUpdate |
|||
Prefix="n" Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" |
|||
XmlFileName="$(NumericsPack)/MathNet.Numerics.Signed.nuspec" |
|||
XPath="//package/n:metadata/n:version" |
|||
Value="$(NumericsPackVersion)"/> |
|||
|
|||
<XmlUpdate |
|||
Prefix="n" Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" |
|||
XmlFileName="$(FSharpPack)/MathNet.Numerics.FSharp.Signed.nuspec" |
|||
XPath="//package/n:metadata/n:version" |
|||
Value="$(FSharpPackVersion)"/> |
|||
<XmlUpdate |
|||
Prefix="n" Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" |
|||
XmlFileName="$(FSharpPack)/MathNet.Numerics.FSharp.Signed.nuspec" |
|||
XPath="//package/n:metadata/n:dependencies/n:dependency[@id='MathNet.Numerics.Signed']/@version" |
|||
Value="$(NumericsPackVersion)"/> |
|||
</Target> |
|||
|
|||
<Target Name="BuildPackages" DependsOnTargets="UpdateNuspec"> |
|||
<MakeDir Directories="$(OutNuGetPackages)" /> |
|||
<Exec Command="$(NuGetExe) pack $(NumericsPack)/MathNet.Numerics.Signed.nuspec -Verbosity detailed -OutputDirectory $(OutNuGetPackages)" /> |
|||
<Exec Command="$(NuGetExe) pack $(FSharpPack)/MathNet.Numerics.FSharp.Signed.nuspec -Verbosity detailed -OutputDirectory $(OutNuGetPackages)" /> |
|||
</Target> |
|||
|
|||
</Project> |
|||
@ -1,93 +0,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.FileUpdate" /> |
|||
|
|||
<PropertyGroup> |
|||
<NuGetExe>$(MSBuildProjectDirectory)/../../tools/NuGet/nuget.exe</NuGetExe> |
|||
<Root>$(MSBuildProjectDirectory)/../..</Root> |
|||
<OutLib>$(MSBuildProjectDirectory)/../../out/lib</OutLib> |
|||
<OutNuGetPackages>$(MSBuildProjectDirectory)/../../out/packages/NuGet</OutNuGetPackages> |
|||
<NumericsPack>$(MSBuildProjectDirectory)/Numerics</NumericsPack> |
|||
<FSharpPack>$(MSBuildProjectDirectory)/FSharp</FSharpPack> |
|||
</PropertyGroup> |
|||
|
|||
<ItemGroup> |
|||
<NumericsNet40 Include="$(OutLib)/Net40/MathNet.Numerics.dll;$(OutLib)/Net40/MathNet.Numerics.pdb;$(OutLib)/Net40/MathNet.Numerics.xml" /> |
|||
<NumericsNet35 Include="$(OutLib)/Net35/MathNet.Numerics.dll;$(OutLib)/Net35/MathNet.Numerics.pdb;$(OutLib)/Net35/MathNet.Numerics.xml" /> |
|||
<NumericsProfile47 Include="$(OutLib)/Profile47/MathNet.Numerics.dll;$(OutLib)/Profile47/MathNet.Numerics.pdb;$(OutLib)/Profile47/MathNet.Numerics.xml;" /> |
|||
<NumericsProfile344 Include="$(OutLib)/Profile344/MathNet.Numerics.dll;$(OutLib)/Profile344/MathNet.Numerics.pdb;$(OutLib)/Profile344/MathNet.Numerics.xml;" /> |
|||
<FSharpNet40 Include="$(OutLib)/Net40/MathNet.Numerics.FSharp.dll;$(OutLib)/Net40/MathNet.Numerics.FSharp.pdb;$(OutLib)/Net40/MathNet.Numerics.FSharp.xml" /> |
|||
<FSharpProfile47 Include="$(OutLib)/Profile47/MathNet.Numerics.FSharp.dll;$(OutLib)/Profile47/MathNet.Numerics.FSharp.pdb;$(OutLib)/Profile47/MathNet.Numerics.FSharp.xml;" /> |
|||
<FSharpProfile344 Include="$(OutLib)/Profile344/MathNet.Numerics.FSharp.dll;$(OutLib)/Profile344/MathNet.Numerics.FSharp.pdb;$(OutLib)/Profile344/MathNet.Numerics.FSharp.xml;" /> |
|||
</ItemGroup> |
|||
|
|||
<Target Name="CopyContentFiles"> |
|||
<Copy SourceFiles="$(Root)/RELEASENOTES.md" DestinationFiles="$(NumericsPack)/readme.txt" /> |
|||
<Copy SourceFiles="$(Root)/RELEASENOTES.md" DestinationFiles="$(FSharpPack)/readme.txt" /> |
|||
<Copy SourceFiles="$(Root)/LICENSE.md" DestinationFiles="$(NumericsPack)/license.txt" /> |
|||
<Copy SourceFiles="$(Root)/LICENSE.md" DestinationFiles="$(FSharpPack)/license.txt" /> |
|||
|
|||
<RemoveDir Directories="$(NumericsPack)/lib" /> |
|||
<Copy SourceFiles="@(NumericsNet40)" DestinationFolder="$(NumericsPack)/lib/net40" /> |
|||
<Copy SourceFiles="@(NumericsNet35)" DestinationFolder="$(NumericsPack)/lib/net35" /> |
|||
<Copy SourceFiles="@(NumericsProfile47)" DestinationFolder="$(NumericsPack)/lib/portable-net45+sl5+netcore45+MonoAndroid1+MonoTouch1" /> |
|||
<Copy SourceFiles="@(NumericsProfile344)" DestinationFolder="$(NumericsPack)/lib/portable-net45+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1" /> |
|||
|
|||
<RemoveDir Directories="$(FSharpPack)/lib" /> |
|||
<Copy SourceFiles="@(FSharpNet40)" DestinationFolder="$(FSharpPack)/lib/net40" /> |
|||
<Copy SourceFiles="@(FSharpProfile47)" DestinationFolder="$(FSharpPack)/lib/portable-net45+sl5+netcore45+MonoAndroid1+MonoTouch1" /> |
|||
<Copy SourceFiles="@(FSharpProfile344)" DestinationFolder="$(FSharpPack)/lib/portable-net45+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1" /> |
|||
</Target> |
|||
|
|||
<Target Name="UpdateNuspec" DependsOnTargets="CopyContentFiles"> |
|||
|
|||
<!-- Evaluate Assembly Identity --> |
|||
<GetAssemblyIdentity AssemblyFiles="$(NumericsPack)/lib/Net40/MathNet.Numerics.dll"> |
|||
<Output TaskParameter="Assemblies" ItemName="NumericsAssemblyInfo"/> |
|||
</GetAssemblyIdentity> |
|||
<GetAssemblyIdentity AssemblyFiles="$(FSharpPack)/lib/Net40/MathNet.Numerics.FSharp.dll"> |
|||
<Output TaskParameter="Assemblies" ItemName="FSharpAssemblyInfo"/> |
|||
</GetAssemblyIdentity> |
|||
|
|||
<!-- Extract Assembly Versions --> |
|||
<PropertyGroup> |
|||
<NumericsAssemblyVersion>%(NumericsAssemblyInfo.Version)</NumericsAssemblyVersion> |
|||
<FSharpAssemblyVersion>%(FSharpAssemblyInfo.Version)</FSharpAssemblyVersion> |
|||
</PropertyGroup> |
|||
|
|||
<!-- Package Versions (skip 4th part/build number, for semvar compliance) --> |
|||
<PropertyGroup Condition="'$(semverPackage)' == ''"> |
|||
<NumericsPackVersion>$(NumericsAssemblyVersion.Substring(0, $(NumericsAssemblyVersion.LastIndexOf('.'))))</NumericsPackVersion> |
|||
<FSharpPackVersion>$(FSharpAssemblyVersion.Substring(0, $(FSharpAssemblyVersion.LastIndexOf('.'))))</FSharpPackVersion> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(semverPackage)' != ''"> |
|||
<NumericsPackVersion>$(semverPackage)</NumericsPackVersion> |
|||
<FSharpPackVersion>$(semverPackage)</FSharpPackVersion> |
|||
</PropertyGroup> |
|||
|
|||
<XmlUpdate |
|||
Prefix="n" Namespace="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" |
|||
XmlFileName="$(NumericsPack)/MathNet.Numerics.nuspec" |
|||
XPath="//package/n:metadata/n:version" |
|||
Value="$(NumericsPackVersion)"/> |
|||
|
|||
<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="$(FSharpPackVersion)"/> |
|||
<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="$(NumericsPackVersion)"/> |
|||
|
|||
</Target> |
|||
|
|||
<Target Name="BuildPackages" DependsOnTargets="UpdateNuspec"> |
|||
<MakeDir Directories="$(OutNuGetPackages)" /> |
|||
<Exec Command="$(NuGetExe) pack $(NumericsPack)/MathNet.Numerics.nuspec -Verbosity detailed -OutputDirectory $(OutNuGetPackages)" /> |
|||
<Exec Command="$(NuGetExe) pack $(FSharpPack)/MathNet.Numerics.FSharp.nuspec -Verbosity detailed -OutputDirectory $(OutNuGetPackages)" /> |
|||
</Target> |
|||
|
|||
</Project> |
|||
Loading…
Reference in new issue