Upgrade Haskell tools to LTS-13.

This commit is contained in:
Rik van der Kleij 2019-02-05 21:00:06 +01:00
parent d950c11214
commit 39009c6a6c
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ object GlobalInfo {
final val LibrarySourcedDirName = "lib"
final val StackWorkDirName = ".stack-work"
final val StackageLtsVersion = "lts-12"
final val StackageLtsVersion = "lts-13"
private final val ToolsBinDirName = "bin"
private final val IntelliJHaskellDirectories = ProjectDirectories.from("com.github", "rikvdkleij", "intellij-haskell")

View File

@ -70,7 +70,7 @@ object StackCommandLine {
} else {
Seq("--system-ghc")
}
val arguments = systemGhcOption ++ Seq("-j1", "--stack-root", toolsStackRootPath.getPath, "--resolver", StackageLtsVersion, "--compiler", "ghc-8.4.4", "--local-bin-path", toolsBinPath.getPath, "install", toolName)
val arguments = systemGhcOption ++ Seq("-j1", "--stack-root", toolsStackRootPath.getPath, "--resolver", StackageLtsVersion, "--compiler", "ghc-8.6.3", "--local-bin-path", toolsBinPath.getPath, "install", toolName)
val processOutput = run(project, arguments, -1, logOutput = true, notifyBalloonError = true, workDir = Some(VfsUtil.getUserHomeDir.getPath), enableExtraArguments = false)
processOutput.exists(o => o.getExitCode == 0 && !o.isTimeout)
}