Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaseFlorell committed Dec 11, 2017
2 parents 6344541 + aadce86 commit 4c804c4
Show file tree
Hide file tree
Showing 45 changed files with 5,210 additions and 3,379 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -27,6 +27,7 @@ bld/
data/
.nuget/
.vs/
.droidres/
*.csproj.bak
build-artifacts/

Expand Down Expand Up @@ -184,4 +185,4 @@ FakesAssemblies/
# project.json
*.lock.json
*.nuget.props
*.nuget.targets
*.nuget.targets
1 change: 1 addition & 0 deletions Xfx.Controls.sln
Expand Up @@ -21,6 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sln", "sln", "{435387BA-775
.gitignore = .gitignore
build.cake = build.cake
build.ps1 = build.ps1
CONTRIBUTING.md = CONTRIBUTING.md
LICENSE = LICENSE
readme.md = readme.md
EndProjectSection
Expand Down
22 changes: 16 additions & 6 deletions build.cake
Expand Up @@ -34,7 +34,10 @@ Task("Build Droid")
.IsDependentOn("Patch Assembly Info")
.Does(() =>
{
MSBuild("./src/Xfx.Controls.Droid/Xfx.Controls.Droid.csproj", new MSBuildSettings()
MSBuild("./src/Xfx.Controls.Droid/Xfx.Controls.Droid.csproj", new MSBuildSettings
{
ToolVersion = MSBuildToolVersion.VS2017
}
.WithProperty("OutDir", droidDir.ToString())
.SetConfiguration(configuration));
});
Expand All @@ -43,7 +46,11 @@ Task("Build Touch")
.IsDependentOn("Patch Assembly Info")
.Does(() =>
{
MSBuild("./src/Xfx.Controls.iOS/Xfx.Controls.iOS.csproj", new MSBuildSettings()
MSBuild("./src/Xfx.Controls.iOS/Xfx.Controls.iOS.csproj", new MSBuildSettings
{
ToolVersion = MSBuildToolVersion.VS2017,
MSBuildPlatform = (Cake.Common.Tools.MSBuild.MSBuildPlatform)1
}
.WithProperty("OutDir", touchDir.ToString())
.SetConfiguration(configuration));
});
Expand All @@ -52,7 +59,10 @@ Task("Build Core")
.IsDependentOn("Patch Assembly Info")
.Does(() =>
{
MSBuild("./src/Xfx.Controls/Xfx.Controls.csproj", new MSBuildSettings()
MSBuild("./src/Xfx.Controls/Xfx.Controls.csproj", new MSBuildSettings
{
ToolVersion = MSBuildToolVersion.VS2017
}
.WithProperty("OutDir", coreDir.ToString())
.SetConfiguration(configuration));
});
Expand Down Expand Up @@ -85,9 +95,9 @@ Task("Package Library")
Description = "Xamarin Forms Extended Controls",
ProjectUrl = new Uri("https://github.com/XamFormsExtended/Xfx.Controls"),
Files = new [] {
new NuSpecContent {Source = coreDir.ToString() + "/Xfx.Controls/Xfx.Controls.dll", Target = "lib/netcore45"},
new NuSpecContent {Source = coreDir.ToString() + "/Xfx.Controls/Xfx.Controls.dll", Target = "lib/netstandard1.3"},
new NuSpecContent {Source = coreDir.ToString() + "/Xfx.Controls/Xfx.Controls.dll", Target = "lib/portable-net45+win8+wpa81+wp8"},
new NuSpecContent {Source = coreDir.ToString() + "/Xfx.Controls.dll", Target = "lib/netcore45"},
new NuSpecContent {Source = coreDir.ToString() + "/Xfx.Controls.dll", Target = "lib/netstandard1.3"},
new NuSpecContent {Source = coreDir.ToString() + "/Xfx.Controls.dll", Target = "lib/portable-net45+win8+wpa81+wp8"},
new NuSpecContent {Source = droidDir.ToString() + "/Xfx.Controls.Droid.dll", Target = "lib/MonoAndroid"},
new NuSpecContent {Source = droidDir.ToString() + "/Xfx.Controls.dll", Target = "lib/MonoAndroid"},
Expand Down

0 comments on commit 4c804c4

Please sign in to comment.