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

[IMRF-97] Feature request: Support running importify on stack-script projects #62

Open
vrom911 opened this issue Oct 18, 2017 · 1 comment

Comments

@vrom911
Copy link
Contributor

vrom911 commented Oct 18, 2017

It would be nice also to be able to run importify on single-file projects.
I tried it on this project and I received

[importify:WARNING] importify was executed outside of project

which is reasonable for current ability of the tool.

@chshersh
Copy link
Contributor

Thanks for your feedback, @vrom911! I agree, it would be really great to run importify over single files or even stack-script projects. This is known issue, so I'll rename the title, don't worry about that.

Importify doesn't work on such files because importify requires .cabal file for caching. With scripts things are more difficult because we want to extract dependencies for script somehow from comment.

@chshersh chshersh changed the title Feature request: Support running importify on stack-script projects [IMRF-97] Feature request: Support running importify on stack-script projects Oct 18, 2017
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

2 participants