You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added -compiler flag for build. Does not require VS to build.
* Renamed -compiler to -noVisualStudio
* Minor fix
* Trying to fix unix builds
* Update DEVGUIDE.md
Write-Host" -procdump Monitor test runs with procdump"
97
98
Write-Host" -prepareMachine Prepare machine for CI run, clean up processes after build"
98
99
Write-Host" -useGlobalNuGetCache Use global NuGet cache."
100
+
Write-Host" -noVisualStudio Only build fsc and fsi as .NET Core applications. No Visual Studio required. '-configuration', '-verbosity', '-norestore', '-rebuild' are supported."
99
101
Write-Host""
100
102
Write-Host"Command line arguments starting with '/p:' are passed through to MSBuild."
101
103
}
@@ -145,8 +147,19 @@ function Process-Arguments() {
145
147
}
146
148
147
149
functionUpdate-Arguments() {
148
-
if (-Not (Test-Path"$ArtifactsDir\Bootstrap\fsc\fsc.exe")) {
149
-
$script:bootstrap=$True
150
+
if ($script:noVisualStudio) {
151
+
$script:bootstrapTfm="netcoreapp2.1"
152
+
$script:msbuildEngine="dotnet"
153
+
}
154
+
155
+
if ($bootstrapTfm-eq"netcoreapp2.1") {
156
+
if (-Not (Test-Path"$ArtifactsDir\Bootstrap\fsc\fsc.runtimeconfig.json")) {
157
+
$script:bootstrap=$True
158
+
}
159
+
} else {
160
+
if (-Not (Test-Path"$ArtifactsDir\Bootstrap\fsc\fsc.exe") -or (Test-Path"$ArtifactsDir\Bootstrap\fsc\fsc.runtimeconfig.json")) {
161
+
$script:bootstrap=$True
162
+
}
150
163
}
151
164
}
152
165
@@ -227,10 +240,37 @@ function TestUsingNUnit([string] $testProject, [string] $targetFramework) {
0 commit comments