Skip to content

Commit f2360dd

Browse files
committed
nuspec files added, and package script updated to pack both projects. Closes #1.
1 parent f388a86 commit f2360dd

File tree

5 files changed

+49
-3
lines changed

5 files changed

+49
-3
lines changed

FluentAssertionsMvc.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{D241AE
2424
.nuget\NuGet.targets = .nuget\NuGet.targets
2525
EndProjectSection
2626
EndProject
27+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "nuspecs", "nuspecs", "{48A7D304-F178-46B0-901E-E060D87B5E07}"
28+
ProjectSection(SolutionItems) = preProject
29+
src\FluentAssertions.Mvc3\FluentAssertions.Mvc3.nuspec = src\FluentAssertions.Mvc3\FluentAssertions.Mvc3.nuspec
30+
src\FluentAssertions.Mvc4\FluentAssertions.Mvc4.nuspec = src\FluentAssertions.Mvc4\FluentAssertions.Mvc4.nuspec
31+
EndProjectSection
32+
EndProject
2733
Global
2834
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2935
Debug|Any CPU = Debug|Any CPU

Package.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ echo.
88
echo *** BUILD SUCCESSFUL ***
99
echo.
1010

11-
cd release
12-
nuget pack
11+
.nuget\nuget pack src\FluentAssertions.Mvc3\FluentAssertions.Mvc3.csproj
12+
.nuget\nuget pack src\FluentAssertions.Mvc4\FluentAssertions.Mvc4.csproj
1313
if errorlevel 1 goto PackageFail
1414

1515
echo.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>FluentAssertions.Mvc3</id>
5+
<title>Fluent Assertions Mvc3</title>
6+
<version>$version$</version>
7+
<authors>Casey Burns, Kevin Kuszyk</authors>
8+
<owners>Casey Burns, Kevin Kuszyk</owners>
9+
<licenseUrl>http://raw.github.com/kevinkuszyk/FluentAssertions.MVC/master/license.txt</licenseUrl>
10+
<projectUrl>http://github.com/CaseyBurns/FluentAssertions.MVC</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>A set of extensions to the Fluent Assertions framework to enable more expressive testing of the MVC applications.</description>
13+
<releaseNotes>Initial release.</releaseNotes>
14+
<copyright>Copyright 2013</copyright>
15+
<tags>TDD, TDD, Fluent, Mvc, AspNetMvc</tags>
16+
<dependencies>
17+
<dependency id="FluentAssertions" version="2.0.0.1" />
18+
</dependencies>
19+
</metadata>
20+
</package>

src/FluentAssertions.Mvc4/FluentAssertions.Mvc4.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory),FluentAssertionsMvc.sln))\tools\FluentAssertionsMvc.settings.targets" />
34
<PropertyGroup>
45
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
56
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -15,7 +16,6 @@
1516
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
1617
<RestorePackages>true</RestorePackages>
1718
</PropertyGroup>
18-
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory),FluentAssertionsMvc.sln))\tools\FluentAssertionsMvc.settings.targets" />
1919
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2020
<DebugSymbols>true</DebugSymbols>
2121
<DebugType>full</DebugType>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>FluentAssertions.Mvc4</id>
5+
<title>Fluent Assertions Mvc4</title>
6+
<version>$version$</version>
7+
<authors>Casey Burns, Kevin Kuszyk</authors>
8+
<owners>Casey Burns, Kevin Kuszyk</owners>
9+
<licenseUrl>http://raw.github.com/kevinkuszyk/FluentAssertions.MVC/master/license.txt</licenseUrl>
10+
<projectUrl>http://github.com/CaseyBurns/FluentAssertions.MVC</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>A set of extensions to the Fluent Assertions framework to enable more expressive testing of the MVC applications.</description>
13+
<releaseNotes>Initial release.</releaseNotes>
14+
<copyright>Copyright 2013</copyright>
15+
<tags>TDD, TDD, Fluent, Mvc, AspNetMvc</tags>
16+
<dependencies>
17+
<dependency id="FluentAssertions" version="2.0.0.1" />
18+
</dependencies>
19+
</metadata>
20+
</package>

0 commit comments

Comments
 (0)