Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating build & NuSpec for SymbolSource.org support. #33

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Humanizer.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,14 @@
<description>A framework that turns your normal strings, type names, enums and DateTime into a human friendly format and provides human friendly API for DateTime, TimeSpan etc</description>
<copyright>Copyright 2012-2013 Mehdi Khalili</copyright>
<licenseUrl>https://github.com/MehdiK/Humanizer/blob/master/LICENSE</licenseUrl>
<releaseNotes>
In this version we changed the library to Portable Class Library. There are no breaking changes.
</releaseNotes>
</metadata>
<files>
<file src="src\Humanizer\bin\Release\Humanizer.dll" target="lib\portable-net4+sl5+wp8+win8\Humanizer.dll" />
<file src="src\Humanizer\bin\Release\Humanizer.pdb" target="lib\portable-net4+sl5+wp8+win8\Humanizer.pdb" />
<file src="src\Humanizer\bin\Release\Humanizer.xml" target="lib\portable-net4+sl5+wp8+win8\Humanizer.xml" />
<file src="src\Humanizer\**\*.cs" exclude="**\obj\**\*.*" target="src" />
</files>
</package>
2 changes: 1 addition & 1 deletion Packages.build
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</CreateItem>
<FileUpdate Files="@(NuGetSpec)" Regex="0\.0\.0\.0" ReplacementText="$(Version)" />
<MakeDir Directories="$(PackageOutput)" ContinueOnError="true"/>
<Exec Command='$(NuGetExe) pack "%(NuGetSpec.FullPath)"' WorkingDirectory="$(PackageOutput)"/>
<Exec Command='$(NuGetExe) pack "%(NuGetSpec.FullPath)" -symbols' WorkingDirectory="$(PackageOutput)"/>
</Target>

<Target Name="Release" DependsOnTargets="Clean;Prepare;Build;Pack"/>
Expand Down
7 changes: 4 additions & 3 deletions src/Humanizer/Humanizer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Humanizer.XML</DocumentationFile>
<DocumentationFile>bin\Debug\Humanizer.xml</DocumentationFile>
<NoWarn>
</NoWarn>
</PropertyGroup>
Expand All @@ -37,7 +37,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\Humanizer.XML</DocumentationFile>
<DocumentationFile>bin\Release\Humanizer.xml</DocumentationFile>
<NoWarn>1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseNET35|AnyCPU'">
Expand All @@ -56,7 +56,7 @@
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
<NoWarn>1591</NoWarn>
<DocumentationFile>bin\Release\Humanizer.XML</DocumentationFile>
<DocumentationFile>bin\Release\Humanizer.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
Expand All @@ -67,6 +67,7 @@
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
Expand Down