Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 16037ea

Browse files
committed
cake build update (removed fixes for various nuget issues)
1 parent 44194d0 commit 16037ea

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

build.cake

+20-21
Original file line numberDiff line numberDiff line change
@@ -1271,27 +1271,26 @@ Task ("libs-windows-projects")
12711271
│   ├── Xamarin.Auth.pdb
12721272
│   └── Xamarin.Auth.pri
12731273
*/
1274-
// solution_or_project = "./source/Core/Xamarin.Auth.UniversalWindowsPlatform/Xamarin.Auth.UniversalWindowsPlatform.csproj";
1275-
// if (is_using_custom_defines == true)
1276-
// {
1277-
// define = custom_defines;
1278-
// }
1279-
// BuildLoop
1280-
// (
1281-
// solution_or_project,
1282-
// new MSBuildSettings
1283-
// {
1284-
// ToolVersion = MSBuildToolVersion.VS2015,
1285-
// }.WithProperty("XamarinAuthCustomPreprocessorConstantsDefines", define)
1286-
// );
1287-
//BuildLoop
1288-
//(
1289-
// solution_or_project,
1290-
// new MSBuildSettings
1291-
// {
1292-
// ToolVersion = MSBuildToolVersion.VS2017,
1293-
// }.WithProperty("DefineConstants", define)
1294-
//);
1274+
if (is_using_custom_defines == true)
1275+
{
1276+
define = custom_defines;
1277+
}
1278+
BuildLoop
1279+
(
1280+
solution_or_project,
1281+
new MSBuildSettings
1282+
{
1283+
ToolVersion = MSBuildToolVersion.VS2015,
1284+
}.WithProperty("XamarinAuthCustomPreprocessorConstantsDefines", define)
1285+
);
1286+
BuildLoop
1287+
(
1288+
solution_or_project,
1289+
new MSBuildSettings
1290+
{
1291+
ToolVersion = MSBuildToolVersion.VS2017,
1292+
}.WithProperty("DefineConstants", define)
1293+
);
12951294

12961295
CopyFiles
12971296
(

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fi
6868
# Restore tools from NuGet.
6969
pushd "$TOOLS_DIR" >/dev/null
7070
if [ ! -f "$PACKAGES_CONFIG_MD5" ] || [ "$( cat "$PACKAGES_CONFIG_MD5" | sed 's/\r$//' )" != "$( $MD5_EXE "$PACKAGES_CONFIG" | awk '{ print $1 }' )" ]; then
71-
find . -type d ! -name . | xargs rm -rf
71+
find . -type d ! -name . ! -name 'Cake.Bakery' | xargs rm -rf
7272
fi
7373

7474
mono "$NUGET_EXE" install -ExcludeVersion

0 commit comments

Comments
 (0)