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"
96
97
Write-Host" -prepareMachine Prepare machine for CI run, clean up processes after build"
97
98
Write-Host" -useGlobalNuGetCache Use global NuGet cache."
99
+
Write-Host" -noVisualStudio Only build fsc and fsi as .NET Core applications. No Visual Studio required. '-configuration', '-verbosity', '-norestore', '-rebuild' are supported."
98
100
Write-Host""
99
101
Write-Host"Command line arguments starting with '/p:' are passed through to MSBuild."
100
102
}
@@ -143,8 +145,19 @@ function Process-Arguments() {
143
145
}
144
146
145
147
functionUpdate-Arguments() {
146
-
if (-Not (Test-Path"$ArtifactsDir\Bootstrap\fsc.exe")) {
147
-
$script:bootstrap=$True
148
+
if ($script:noVisualStudio) {
149
+
$script:bootstrapTfm="netcoreapp2.1"
150
+
$script:msbuildEngine="dotnet"
151
+
}
152
+
153
+
if ($bootstrapTfm-eq"netcoreapp2.1") {
154
+
if (-Not (Test-Path"$ArtifactsDir\Bootstrap\fsc\fsc.runtimeconfig.json")) {
155
+
$script:bootstrap=$True
156
+
}
157
+
} else {
158
+
if (-Not (Test-Path"$ArtifactsDir\Bootstrap\fsc\fsc.exe") -or (Test-Path"$ArtifactsDir\Bootstrap\fsc\fsc.runtimeconfig.json")) {
159
+
$script:bootstrap=$True
160
+
}
148
161
}
149
162
}
150
163
@@ -226,10 +239,37 @@ function TestUsingNUnit([string] $testProject, [string] $targetFramework) {
0 commit comments