Skip to content
Permalink
Browse files

Added nuspec files for building NuGet package. Updated packing batch …

…files.
  • Loading branch information...
sumo300 committed Jan 28, 2014
1 parent 710daed commit 3fbd14a49dca7d6c3fc4d3c34f10e9da8ed573b1
@@ -5,3 +5,5 @@ obj/
*.user
FedEx-Test-Credentials.txt
SeeSharpShip.Tests/sumerano.config
SeeSharpShip.nuspec
*.nupkg
@@ -1,9 +1,15 @@
@echo off

setlocal

pushd ..
pushd SeeSharpShip

nuget pack SeeSharpShip.csproj -Prop Configuration=Release %1
set config=Release

copy SeeSharpShip.nuspec.%config% SeeSharpShip.nuspec
nuget pack SeeSharpShip.csproj -Build -IncludeReferencedProjects -Properties Configuration=%config%;OutputPath=.\bin\%config%
del SeeSharpShip.nuspec

popd
popd
@@ -1,3 +1,15 @@
@echo off

call pack.bat -Symbols
setlocal

pushd ..
pushd SeeSharpShip

set config=Debug

copy SeeSharpShip.nuspec.%config% SeeSharpShip.nuspec
nuget pack SeeSharpShip.csproj -Build -Symbols -Properties Configuration=%config%;OutputPath=.\bin\%config%
del SeeSharpShip.nuspec

popd
popd
@@ -62,8 +62,11 @@
<None Include="app.config">
<SubType>Designer</SubType>
</None>
<None Include="SeeSharpShip.nuspec.Release">
<SubType>Designer</SubType>
</None>
<None Include="license.txt" />
<None Include="SeeSharpShip.nuspec">
<None Include="SeeSharpShip.nuspec.Debug">
<SubType>Designer</SubType>
</None>
</ItemGroup>
@@ -24,7 +24,7 @@
</metadata>
<files>
<file src="..\NuGet\Transforms\*.config.transform" target="content\" />
<file src=".\bin\Release\SeeSharpShip.dll" target="lib\net40\SeeSharpShip.dll" />
<file src=".\bin\Release\SeeSharpShip.pdb" target="lib\net40\SeeSharpShip.pdb" />
<file src=".\bin\Debug\SeeSharpShip*.dll" target="lib\net40\" />
<file src=".\bin\Debug\SeeSharpShip*.pdb" target="lib\net40\" />
</files>
</package>
@@ -0,0 +1,28 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>$title$</title>
<authors>Michael J. Sumerano</authors>
<owners>Michael J. Sumerano</owners>
<licenseUrl>http://www.gnu.org/licenses/gpl-3.0.html</licenseUrl>
<projectUrl>http://www.seesharpship.com/</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes></releaseNotes>
<copyright>2011-2013 Michael J. Sumerano</copyright>
<tags>seesharpship usps ups fedex dhl</tags>
<frameworkAssemblies>
<frameworkAssembly assemblyName="System" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="System.Core" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="System.ServiceModel" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="System.Web" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="System.Xml" targetFramework=".NETFramework4.0" />
<frameworkAssembly assemblyName="System.Xml.Linq" targetFramework=".NETFramework4.0" />
</frameworkAssemblies>
</metadata>
<files>
<file src="..\NuGet\Transforms\*.config.transform" target="content\" />
</files>
</package>

0 comments on commit 3fbd14a

Please sign in to comment.
You can’t perform that action at this time.