Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Report when dist and .stack-work exist #358

Open
alanz opened this issue Nov 20, 2017 · 5 comments
Open

Report when dist and .stack-work exist #358

alanz opened this issue Nov 20, 2017 · 5 comments

Comments

@alanz
Copy link
Collaborator

alanz commented Nov 20, 2017

ghc-mod has a heuristic to choose between cabal and stack based projects.

This is (partly) based on the presence of a dist dir, which is taken to indicate a cabal project.

Issue a warning message on startup if both dist and .stack-work are present in the project root.

@alanz
Copy link
Collaborator Author

alanz commented Dec 24, 2018

And we should probably allow the user to be able to explicitly choose/override the project type.

@lukel97
Copy link
Collaborator

lukel97 commented Jan 7, 2019

Related to #963

@alanz alanz modified the milestones: 2019-01, 2019-02 Feb 2, 2019
@alanz alanz modified the milestones: 2019-02, 2019-03 Mar 2, 2019
@alanz alanz modified the milestones: 2019-03, 2019-04 Apr 6, 2019
@lukel97
Copy link
Collaborator

lukel97 commented Apr 8, 2019

Not sure why I removed the good first issue label, seems nice and straightforward!

@samuelpilz
Copy link
Contributor

I could have a go at this.

@lukel97
Copy link
Collaborator

lukel97 commented Apr 8, 2019

I’m thinking sending a showmessage/logmessage notification would probably be a good way to notify the user

@samuelpilz samuelpilz self-assigned this May 3, 2019
@alanz alanz modified the milestones: 2019-04, 2019-05 May 4, 2019
@alanz alanz modified the milestones: 2019-05, 2019-06 Jun 1, 2019
@alanz alanz modified the milestones: 2019-06, Some time Jul 7, 2019
@samuelpilz samuelpilz removed their assignment Sep 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants