Skip to content

Commit

Permalink
Yet another nuspec for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Oct 30, 2014
1 parent 2356bf5 commit e98a74a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
27 changes: 27 additions & 0 deletions tests/Paket.Tests/Nuspec/FsXaml.Wpf.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>FsXaml.Wpf</id>
<version>0.9.9</version>
<title>FsXaml for WPF</title>
<authors>Reed Copsey,Jr.</authors>
<licenseUrl>http://www.apache.org/licenses/</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>This is the initial release of the FsXaml WPF project. It includes the new XAML type provider for WPF, as well as EventToMailbox, EventToCommand, and EventToFSEvent TriggerActions for working with the Blend SDK.</description>
<summary />
<releaseNotes>Major update which changes the way code behind is accessed. This simplifies accessing child controls or resources, and eliminates the Accessor nested type. Added utilites to make ViewControllers simpler and more powerful.</releaseNotes>
<copyright>Copyright 2014 FsXaml Team</copyright>
<dependencies>
<group targetFramework=".NETFramework4.5">
<dependency id="Expression.Blend.Sdk" version="1.0.2" />
</group>
</dependencies>
<frameworkAssemblies>
<frameworkAssembly assemblyName="PresentationCore" targetFramework=".NETFramework4.5" />
<frameworkAssembly assemblyName="PresentationFramework" targetFramework=".NETFramework4.5" />
<frameworkAssembly assemblyName="System.Xml" targetFramework=".NETFramework4.5" />
<frameworkAssembly assemblyName="System.Xaml" targetFramework=".NETFramework4.5" />
<frameworkAssembly assemblyName="WindowsBase" targetFramework=".NETFramework4.5" />
</frameworkAssemblies>
</metadata>
</package>
5 changes: 5 additions & 0 deletions tests/Paket.Tests/Nuspec/NuspecSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ let ``can detect all references``() =
Nuspec.Load("Nuspec/Octokit.nuspec").References
|> shouldEqual NuspecReferences.All

[<Test>]
let ``can detect all references for FsXaml``() =
Nuspec.Load("Nuspec/FsXaml.Wpf.nuspec").References
|> shouldEqual NuspecReferences.All

[<Test>]
let ``can detect all references for log4net``() =
Nuspec.Load("Nuspec/log4net.nuspec").References
Expand Down
5 changes: 4 additions & 1 deletion tests/Paket.Tests/Paket.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand Down Expand Up @@ -90,6 +90,9 @@
</Content>
<Content Include="Nuspec\Microsoft.Net.Http.nuspec">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Nuspec\FsXaml.Wpf.nuspec">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Nuspec\log4net.nuspec">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down

0 comments on commit e98a74a

Please sign in to comment.