haskell/haskell-ide-engine

Select Project based on the existence of `dist-newstyle`, `dist` and `.stack_work`

Open

#1,510 opened on Dec 29, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Haskell (2,358 stars) (205 forks)batch import
component: cabal-helpergood first issuetype: enhancement

Description

Instead of just relying on cabal.project, etc ... and installed build-tools, base the decision of build-tool selection on the existence of existing build artifacts. In the case of a tie between cabal and stack, break the tie arbitrarily. Changes are only necessary to https://github.com/haskell/haskell-ide-engine/blob/master/hie-plugin-api/Haskell/Ide/Engine/Cradle.hs

Contributor guide

Select Project based on the existence of `dist-newstyle`, `dist` and `.stack_work` · haskell/haskell-ide-engine#1510 | Good First Issue