Skip to content

Commit

Permalink
nuspec fixes for Live-Charts#212 and Live-Charts#275
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-rodriguez committed Nov 15, 2016
1 parent 060474b commit 05dc569
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 114 deletions.
5 changes: 5 additions & 0 deletions Core/Core.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@
<files>
<file src="readme.txt" target="" />
<file src="bin\Release\LiveCharts.dll" target="lib\portable-net40+sl5+win8+wp8+wpa81" />
<file src="bin\Release\LiveCharts.pdb" target="lib\portable-net40+sl5+win8+wp8+wpa81" />
<file src="bin\Release\LiveCharts.xml" target="lib\portable-net40+sl5+win8+wp8+wpa81" />
<file src="..\Core40\bin\Release\LiveCharts.dll" target="lib\net40" />
<file src="..\Core40\bin\Release\LiveCharts.pdb" target="lib\net40" />
<file src="..\Core40\bin\Release\LiveCharts.xml" target="lib\net40" /
</files>
</package>
114 changes: 0 additions & 114 deletions LiveCharts.pack.bat

This file was deleted.

16 changes: 16 additions & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,21 @@ Task("WPF")
Information("-- WPF Packed --");
});

Task("UWP")
.Does(() =>
{
Information("-- UWP - " + buildType.ToUpper() + " --");
var ouputDirectory = "./bin/" + buildType;

if(!DirectoryExists(ouputDirectory)) CreateDirectory(ouputDirectory);

BuildProject("./UwpView/UwpView.csproj", ouputDirectory, buildType);

if(buildType == "Release") NugetPack("./UwpView/UwpView.nuspec", "./UwpView/bin/Release/LiveCharts.Uwp.dll");

Information("-- UWP Packed --");
});

Task("WinForms")
.Does(() =>
{
Expand Down Expand Up @@ -103,6 +118,7 @@ Task("Default")
.IsDependentOn("OutputArguments")
.IsDependentOn("Core")
.IsDependentOn("WPF")
.IsDependentOn("UWP")
.IsDependentOn("WinForms");

//Entry point for Cake build
Expand Down

0 comments on commit 05dc569

Please sign in to comment.