mirror of
https://github.com/ilyakooo0/intellij-haskell.git
synced 2024-09-11 14:56:19 +03:00
Upgrade Haskell tools to LTS-13.
This commit is contained in:
parent
d950c11214
commit
39009c6a6c
@ -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")
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user