You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix the setup of this Haskell project within CircleCI and when setting
up on a new machine or within Docker. This required that `Haq` not be
considered a Library (without an executable), but instead an exposed
module that was built and included within both the base project, as well
as its tests.
This should resolve problems that where occurring when running
`cabal install`
== Notes:
- Change the order of `cabal update` with `cabal sandbox init`, since
update will only run it there is a sandbox available, which is not
present in the Haskell image container
- Add `--enable-tests` and `--enable-documentation` to cabal install to
slience other warnings
== References:
- [How to write a Haskell program \- HaskellWiki]
(https://wiki.haskell.org/How_to_write_a_Haskell_program#Add_some_tests)
- [cabal \- Set up Haskell Project and run tests \- Stack Overflow]
(https://stackoverflow.com/questions/38928802/set-up-haskell-project-and-run-tests)
- [Cabal\-Install \- HaskellWiki]
(https://wiki.haskell.org/Cabal-Install)
- [Invoking Haddock — Haddock 1\.0 documentation]
(http://haskell-haddock.readthedocs.io/en/latest/invoking.html)
- [new\-build failure with custom\-setup when setup\-depends don't
contain Cabal · Issue \#4288 · haskell/cabal]
(haskell/cabal#4288)
- [2\.1\. Configuration — Cabal <release> User's Guide]
(https://www.haskell.org/cabal/users-guide/installing-packages.html)
0 commit comments