File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -189,10 +189,10 @@ function UpdatePath() {
189
189
}
190
190
191
191
function VerifyAssemblyVersions () {
192
- $fsiPath = Join-Path $ArtifactsDir " bin\fsi\$configuration \net46\fsi.exe"
192
+ $fsiPath = Join-Path $ArtifactsDir " bin\fsi\Proto \net46\fsi.exe"
193
193
194
- # desktop fsi isn't always built
195
- if (Test-Path $fsiPath ) {
194
+ # Only verify versions on CI or official build
195
+ if ($ci -or $official ) {
196
196
$asmVerCheckPath = " $RepoRoot \scripts"
197
197
Exec- Console $fsiPath " "" $asmVerCheckPath \AssemblyVersionCheck.fsx"" -- "" $ArtifactsDir "" "
198
198
}
Original file line number Diff line number Diff line change @@ -249,9 +249,7 @@ function Make-BootstrapBuild() {
249
249
$projectPath = " $RepoRoot \proto.proj"
250
250
Run- MSBuild $projectPath " /restore /t:Build" - logFileName " Bootstrap" - configuration $bootstrapConfiguration
251
251
Copy-Item " $ArtifactsDir \bin\fsc\$bootstrapConfiguration \$bootstrapTfm \*" - Destination $dir
252
-
253
- Write-Host " Cleaning Bootstrap compiler artifacts"
254
- Run- MSBuild $projectPath " /t:Clean" - logFileName " BootstrapClean" - configuration $bootstrapConfiguration
252
+ Copy-Item " $ArtifactsDir \bin\fsi\$bootstrapConfiguration \$bootstrapTfm \*" - Destination $dir
255
253
256
254
return $dir
257
255
}
Original file line number Diff line number Diff line change 14
14
<AdditionalProperties Condition =" '$(OS)' != 'Unix'" >TargetFramework=net46</AdditionalProperties >
15
15
<AdditionalProperties Condition =" '$(OS)' == 'Unix'" >TargetFramework=netcoreapp2.1</AdditionalProperties >
16
16
</Projects >
17
+ <Projects Include =" src\fsharp\fsi\fsi.fsproj" >
18
+ <AdditionalProperties Condition =" '$(OS)' != 'Unix'" >TargetFramework=net46</AdditionalProperties >
19
+ <AdditionalProperties Condition =" '$(OS)' == 'Unix'" >TargetFramework=netcoreapp2.1</AdditionalProperties >
20
+ </Projects >
17
21
</ItemGroup >
18
22
19
23
<Target Name =" Build" >
You can’t perform that action at this time.
0 commit comments