Skip to content

Commit

Permalink
NuGet package build setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouterdek committed Jan 1, 2018
1 parent a3a94a3 commit d37967f
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions NodeNetwork/NodeNetwork.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\NodeNetwork.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion NodeNetwork/NodeNetwork.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<owners>$author$</owners>
<licenseUrl>https://opensource.org/licenses/Apache-2.0</licenseUrl>
<projectUrl>https://www.github.com/wouterdek/nodenetwork</projectUrl>
<iconUrl>https://raw.githubusercontent.com/Wouterdek/NodeNetwork/master/Misc/logo.png</iconUrl>
<iconUrl>https://raw.githubusercontent.com/Wouterdek/NodeNetwork/gh-pages/img/logo.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A library with a WPF node editor component based on ReactiveUI</description>
<copyright>Copyright (c) Wouter De Keersmaecker</copyright>
Expand Down
1 change: 1 addition & 0 deletions NodeNetworkToolkit/NodeNetworkToolkit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Release\NodeNetworkToolkit.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
Expand Down
2 changes: 1 addition & 1 deletion NodeNetworkToolkit/NodeNetworkToolkit.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<owners>$author$</owners>
<licenseUrl>https://opensource.org/licenses/Apache-2.0</licenseUrl>
<projectUrl>https://www.github.com/wouterdek/nodenetwork</projectUrl>
<iconUrl>https://raw.githubusercontent.com/Wouterdek/NodeNetwork/master/Misc/logo.png</iconUrl>
<iconUrl>https://raw.githubusercontent.com/Wouterdek/NodeNetwork/gh-pages/img/logo.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A helper library for NodeNetwork with additional, commonly used helper components</description>
<copyright>Copyright (c) Wouter De Keersmaecker</copyright>
Expand Down
7 changes: 7 additions & 0 deletions NuGet/build_nuget.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off
echo Building NodeNetwork NuGet package...
nuget.exe pack ../NodeNetwork/NodeNetwork.csproj -IncludeReferencedProjects -properties Configuration=Release

echo.
echo Building NodeNetworkToolkit NuGet package...
nuget.exe pack ../NodeNetworkToolkit/NodeNetworkToolkit.csproj -IncludeReferencedProjects -properties Configuration=Release
Binary file added NuGet/nuget.exe
Binary file not shown.
5 changes: 5 additions & 0 deletions NuGet/publish.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@echo off
echo Push NodeNetwork to NuGet?
pause
nuget push NodeNetwork.1.0.0.nupkg %1 -Source https://api.nuget.org/v3/index.json
nuget push NodeNetworkToolkit.1.0.0.nupkg %1 -Source https://api.nuget.org/v3/index.json

0 comments on commit d37967f

Please sign in to comment.