Skip to content

Commit 161da26

Browse files
Updated cake
1 parent 4e9609f commit 161da26

File tree

4 files changed

+3
-24
lines changed

4 files changed

+3
-24
lines changed

build.ps1

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,9 @@ The build script target to run.
2121
The build configuration to use.
2222
.PARAMETER Verbosity
2323
Specifies the amount of information to be displayed.
24-
.PARAMETER Experimental
25-
Tells Cake to use the latest Roslyn release.
2624
.PARAMETER WhatIf
2725
Performs a dry run of the build script.
2826
No tasks will be executed.
29-
.PARAMETER Mono
30-
Tells Cake to use the Mono scripting engine.
3127
.PARAMETER SkipToolPackageRestore
3228
Skips restoring of packages.
3329
.PARAMETER ScriptArgs
@@ -47,10 +43,8 @@ Param(
4743
[string]$Configuration = "Release",
4844
[ValidateSet("Quiet", "Minimal", "Normal", "Verbose", "Diagnostic")]
4945
[string]$Verbosity = "Verbose",
50-
[switch]$Experimental = $true,
5146
[Alias("DryRun","Noop")]
5247
[switch]$WhatIf,
53-
[switch]$Mono,
5448
[switch]$SkipToolPackageRestore,
5549
[Parameter(Position=0,Mandatory=$false,ValueFromRemainingArguments=$true)]
5650
[string[]]$ScriptArgs
@@ -94,20 +88,6 @@ $NUGET_URL = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
9488
$PACKAGES_CONFIG = Join-Path $TOOLS_DIR "packages.config"
9589
$PACKAGES_CONFIG_MD5 = Join-Path $TOOLS_DIR "packages.config.md5sum"
9690

97-
# Should we use mono?
98-
$UseMono = "";
99-
if($Mono.IsPresent) {
100-
Write-Verbose -Message "Using the Mono based scripting engine."
101-
$UseMono = "-mono"
102-
}
103-
104-
# Should we use the new Roslyn?
105-
$UseExperimental = "";
106-
if($Experimental.IsPresent -and !($Mono.IsPresent)) {
107-
Write-Verbose -Message "Using experimental version of Roslyn."
108-
$UseExperimental = "-experimental"
109-
}
110-
11191
# Is this a dry run?
11292
$UseDryRun = "";
11393
if($WhatIf.IsPresent) {
@@ -186,5 +166,5 @@ if (!(Test-Path $CAKE_EXE)) {
186166

187167
# Start Cake
188168
Write-Host "Running build script..."
189-
Invoke-Expression "& `"$CAKE_EXE`" `"$Script`" -target=`"$Target`" -configuration=`"$Configuration`" -verbosity=`"$Verbosity`" $UseMono $UseDryRun $UseExperimental $ScriptArgs"
169+
Invoke-Expression "& `"$CAKE_EXE`" `"$Script`" -target=`"$Target`" -configuration=`"$Configuration`" -verbosity=`"$Verbosity`" $UseDryRun $ScriptArgs"
190170
exit $LASTEXITCODE

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fi
5454
# Make sure that packages.config exist.
5555
if [ ! -f "$TOOLS_DIR/packages.config" ]; then
5656
echo "Downloading packages.config..."
57-
curl -Lsfo "$TOOLS_DIR/packages.config" http://cakebuild.net/download/bootstrapper/packages
57+
curl -Lsfo "$TOOLS_DIR/packages.config" https://cakebuild.net/download/bootstrapper/packages
5858
if [ $? -ne 0 ]; then
5959
echo "An error occured while downloading packages.config."
6060
exit 1

tools/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Cake" version="0.19.4" />
3+
<package id="Cake" version="0.22.2" />
44
</packages>

tools/packages.config.md5sum

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)