-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: run tests for simple cabal projects #44
feat: run tests for simple cabal projects #44
Conversation
Thanks for the contribution! |
To answer your question about adding plenary specs: I haven't had time to figure out how best to write integration tests for this plugin yet. |
It looks like the changelog entry is missing? |
2615524
to
666f546
Compare
666f546
to
2a1678a
Compare
2a1678a
to
1f8dd4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm. Thanks for all the work!
@all-contributors please add @saep for code |
I've put up a pull request to add @saep! 🎉 |
Description of changes
I've added the ability to run tests on simple cabal projects (such as https://github.com/neovimhaskell/nvim-hs).
Since I'm using nix flakes, I typically don't have any extraneous build tools (such as stack) installed. That's why I added the check for a
stack
executable. This should be backwards compatible and allow people like me to usecabal
instead ofstack
on normal projects without aproject.cabal
.Things done
cabal test
?