Skip to content

Commit

Permalink
Add WindowsAzure.Storage.nuspec - references #462
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Dec 21, 2014
1 parent b792cee commit 06bb827
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Paket/Paket.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<WarningLevel>3</WarningLevel>
<DocumentationFile>
</DocumentationFile>
<StartArguments>add nuget NUNIT --interactive</StartArguments>
<StartArguments>update</StartArguments>
<StartAction>Project</StartAction>
<StartProgram>paket.exe</StartProgram>
<StartWorkingDirectory>
Expand Down
8 changes: 8 additions & 0 deletions tests/Paket.Tests/Nuspec/NuspecSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,11 @@ let ``can detect framework assemblies for MathNet.Numerics``() =
{ AssemblyName = "System.Numerics"; TargetFramework = Some(Silverlight("v5.0")) }
{ AssemblyName = "System.Numerics"; TargetFramework = Some(MonoAndroid) }
{ AssemblyName = "System.Numerics"; TargetFramework = Some(MonoTouch) }]
[<Test>]
let ``can detect explicit dependencies for WindowsAzure.Storage``() =
Nuspec.Load("Nuspec/WindowsAzure.Storage.nuspec").Dependencies
|> Seq.take 2
|> Seq.toList
|> shouldEqual
["Microsoft.Data.OData",DependenciesFileParser.parseVersionRequirement(">= 5.6.2"), Some(DotNetFramework(FrameworkVersion.V4_Client))
"Newtonsoft.Json",DependenciesFileParser.parseVersionRequirement(">= 5.0.8"), Some(DotNetFramework(FrameworkVersion.V4_Client))]
45 changes: 45 additions & 0 deletions tests/Paket.Tests/Nuspec/WindowsAzure.Storage.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>WindowsAzure.Storage</id>
<version>4.3.0</version>
<title>Windows Azure Storage</title>
<authors>Microsoft</authors>
<owners>Microsoft</owners>
<licenseUrl>http://go.microsoft.com/fwlink/?LinkId=331471</licenseUrl>
<projectUrl>http://go.microsoft.com/fwlink/?LinkId=235168</projectUrl>
<iconUrl>http://go.microsoft.com/fwlink/?LinkID=288890</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>This client library enables working with the Microsoft Azure storage services which include the blob and file service for storing binary and text data, the table service for storing structured non-relational data, and the queue service for storing messages that may be accessed by a client.
For this release see notes - https://github.com/Azure/azure-storage-net/blob/master/README.md and https://github.com/Azure/azure-storage-net/blob/master/changelog.txt
Microsoft Azure Storage team's blog - http://blogs.msdn.com/b/windowsazurestorage/</description>
<summary>A client library for working with Microsoft Azure storage services including blobs, files, tables, and queues.</summary>
<tags>Microsoft, Azure, Storage, Table, Blob, File, Queue, Scalable, windowsazureofficial</tags>
<dependencies>
<group targetFramework=".NETFramework4.0-Client">
<dependency id="Microsoft.Data.OData" version="5.6.2" />
<dependency id="Newtonsoft.Json" version="5.0.8" />
<dependency id="Microsoft.Data.Services.Client" version="5.6.2" />
<dependency id="Microsoft.WindowsAzure.ConfigurationManager" version="1.8.0.0" />
</group>
<group targetFramework="Windows8.0">
<dependency id="Microsoft.Data.OData" version="5.6.2" />
</group>
<group targetFramework="WindowsPhoneApp0.0">
<dependency id="Microsoft.Data.OData" version="5.6.2" />
</group>
<group targetFramework="WindowsPhone8.0">
<dependency id="Microsoft.Data.OData" version="5.6.2" />
<dependency id="Newtonsoft.Json" version="5.0.8" />
</group>
</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System.Data" targetFramework=".NETFramework4.0-Client" />
<frameworkAssembly assemblyName="System.Xml" targetFramework="" />
<frameworkAssembly assemblyName="System.Xml.Linq" targetFramework="" />
</frameworkAssemblies>
<references>
<reference file="Microsoft.WindowsAzure.Storage.dll" />
</references>
</metadata>
</package>
3 changes: 3 additions & 0 deletions tests/Paket.Tests/Paket.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
<Content Include="Nuspec\MathNet.Numerics.nuspec">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Nuspec\WindowsAzure.Storage.nuspec">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Compile Include="Nuspec\NuspecSpecs.fs" />
<Content Include="NuGetOData\Fantomas.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down

0 comments on commit 06bb827

Please sign in to comment.