haskell/haskell-ide-engine
Select Project based on the existence of `dist-newstyle`, `dist` and `.stack_work`
Aperta
#1510 aperta il 29 dic 2019
component: cabal-helpergood first issuetype: enhancement
Metriche repository
- Star
- (2354 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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