Skip to content

Commit 6d379d2

Browse files
authored
Merge pull request #576 from ncave/netcore
Netcore build step fix
2 parents e737a46 + f39bf4e commit 6d379d2

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ install:
1515
script:
1616
- ./build.sh NuGet
1717

18+
matrix:
19+
allow_failures:
20+
- os: osx
21+
mono: latest

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)