Skip to content

Commit

Permalink
Merge pull request #576 from ncave/netcore
Browse files Browse the repository at this point in the history
Netcore build step fix
  • Loading branch information
dsyme committed Jun 14, 2016
2 parents e737a46 + f39bf4e commit 6d379d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ install:
script:
- ./build.sh NuGet

matrix:
allow_failures:
- os: osx
mono: latest
4 changes: 0 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ environment:
- BUILD_TARGET: DotnetCliTests
- BUILD_TARGET: NuGet

matrix:
allow_failures:
- BUILD_TARGET: DotnetCliTests

build_script:
- ps: dotnet --info
- cmd: build.cmd %BUILD_TARGET%
Expand Down
3 changes: 3 additions & 0 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,11 @@ Target "DotnetCliCodeGen" (fun _ ->
let open2 = @" --open Microsoft.FSharp.Compiler"
let open3 = @" --open Microsoft.FSharp.Compiler"

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

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

0 comments on commit 6d379d2

Please sign in to comment.