-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Switch to Stack on CircleCI #476
Conversation
override: | ||
- stack test | ||
- git ls-files | grep '\.l\?hs$' | xargs stack exec -- hlint -X QuasiQuotes "$@" | ||
- stack exec -- packdeps *.cabal || true |
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.
Doesn't packdeps
lose a bit of it's purpose when we build with stack?
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.
I was thinking if someone wanted to use the modules in postgrest from their own haskell project that I want to make sure they wouldn't have to hold common dependencies back at old versions. Many of our deps have constraints on their major version.
Packdeps is treated as a warning here (for instance I don't want to upgrade to aeson 10 because it has a bug).
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.
What would also be good is adding packunused to help us prune packages we no longer need. At the moment is has stack problems though.
Rock n'Roll 🤘 |
The new config has a few benefits