@@ -21,13 +21,9 @@ The build script target to run.
21
21
The build configuration to use.
22
22
. PARAMETER Verbosity
23
23
Specifies the amount of information to be displayed.
24
- . PARAMETER Experimental
25
- Tells Cake to use the latest Roslyn release.
26
24
. PARAMETER WhatIf
27
25
Performs a dry run of the build script.
28
26
No tasks will be executed.
29
- . PARAMETER Mono
30
- Tells Cake to use the Mono scripting engine.
31
27
. PARAMETER SkipToolPackageRestore
32
28
Skips restoring of packages.
33
29
. PARAMETER ScriptArgs
@@ -47,10 +43,8 @@ Param(
47
43
[string ]$Configuration = " Release" ,
48
44
[ValidateSet (" Quiet" , " Minimal" , " Normal" , " Verbose" , " Diagnostic" )]
49
45
[string ]$Verbosity = " Verbose" ,
50
- [switch ]$Experimental = $true ,
51
46
[Alias (" DryRun" , " Noop" )]
52
47
[switch ]$WhatIf ,
53
- [switch ]$Mono ,
54
48
[switch ]$SkipToolPackageRestore ,
55
49
[Parameter (Position = 0 , Mandatory = $false , ValueFromRemainingArguments = $true )]
56
50
[string []]$ScriptArgs
@@ -94,20 +88,6 @@ $NUGET_URL = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
94
88
$PACKAGES_CONFIG = Join-Path $TOOLS_DIR " packages.config"
95
89
$PACKAGES_CONFIG_MD5 = Join-Path $TOOLS_DIR " packages.config.md5sum"
96
90
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
-
111
91
# Is this a dry run?
112
92
$UseDryRun = " " ;
113
93
if ($WhatIf.IsPresent ) {
@@ -186,5 +166,5 @@ if (!(Test-Path $CAKE_EXE)) {
186
166
187
167
# Start Cake
188
168
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 "
190
170
exit $LASTEXITCODE
0 commit comments