Skip to content

Commit

Permalink
Change dir to the repo root folder when trying to start the Haskell L…
Browse files Browse the repository at this point in the history
…anguage Server (digital-asset#13867)

changelog_begin
changelog_end
  • Loading branch information
realvictorprm authored May 12, 2022
1 parent 751e0f7 commit 544c6fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-env/bin/da-hls
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@

set -euo pipefail

DADE_CURRENT_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DADE_CURRENT_SCRIPT_DIR
cd ../..

bazel build @hls-exe//haskell-language-server
exec ./bazel-bin/external/hls/haskell-language-server-1.7.0.0/_install/bin/haskell-language-server "$@"

0 comments on commit 544c6fd

Please sign in to comment.