Skip to content

Commit 440ecf0

Browse files
committed
Netcore build step fix
1 parent e737a46 commit 440ecf0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

appveyor.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ environment:
88
- BUILD_TARGET: DotnetCliTests
99
- BUILD_TARGET: NuGet
1010

11-
matrix:
12-
allow_failures:
13-
- BUILD_TARGET: DotnetCliTests
14-
1511
build_script:
1612
- ps: dotnet --info
1713
- cmd: build.cmd %BUILD_TARGET%

build.fsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,11 @@ Target "DotnetCliCodeGen" (fun _ ->
231231
let open2 = @" --open Microsoft.FSharp.Compiler"
232232
let open3 = @" --open Microsoft.FSharp.Compiler"
233233

234+
// restore tools
234235
let workDir = @"src/fsharp/FSharp.Compiler.Service.netcore/"
236+
Shell.Exec("dotnet", "restore -v Minimal", workDir) |> assertExitCodeZero
235237

238+
// run tools
236239
Shell.Exec("dotnet", "fssrgen ../FSComp.txt ./FSComp.fs ./FSComp.resx", workDir) |> assertExitCodeZero
237240
Shell.Exec("dotnet", "fssrgen ../fsi/FSIstrings.txt ./FSIstrings.fs ./FSIstrings.resx", workDir) |> assertExitCodeZero
238241
Shell.Exec(fsLex, @"../lex.fsl --unicode" + lexArgs + " -o lex.fs", workDir) |> assertExitCodeZero

0 commit comments

Comments
 (0)