From 00f3fa35fd58d67558305b7d46086edf2edf4dc8 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 28 Sep 2020 23:48:59 +0200 Subject: [PATCH] Add hls installation to bootstrap-haskell --- bootstrap-haskell | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/bootstrap-haskell b/bootstrap-haskell index 23da3e6..d2f32b5 100755 --- a/bootstrap-haskell +++ b/bootstrap-haskell @@ -187,6 +187,27 @@ edo cabal new-update printf "\\033[0;35m%s\\033[0m\\n" "" printf "\\033[0;35m%s\\033[0m\\n" "Installation done!" printf "\\033[0;35m%s\\033[0m\\n" "" +printf "\\033[0;35m%s\\033[0m\\n" "Do you want to install haskell-language-server (HLS) now?" +printf "\\033[0;35m%s\\033[0m\\n" "HLS is a language-server that provides IDE-like functionality" +printf "\\033[0;35m%s\\033[0m\\n" "and can integrate with different editors, such as Vim, Emacs, VS Code, Atom, ..." +printf "\\033[0;35m%s\\033[0m\\n" "Also see https://github.com/haskell/haskell-language-server/blob/master/README.md" +printf "\\033[0;35m%s\\033[0m\\n" "" +printf "\\033[0;35m%s\\033[0m\\n" "Answer with YES or NO and press ENTER." +printf "\\033[0;35m%s\\033[0m\\n" "" + +while true; do + read -r next_answer