graphql-engine/cabal/dev.project
Brandon Simmons b704192268 server: GHC 9.2 changes compatible with 8.10 (#3550)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4841
Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com>
GitOrigin-RevId: ce47b1290fefb07f3f800c6c62120437c02086e5
2022-06-25 22:09:05 +00:00

20 lines
747 B
Plaintext

-- A project configuration for general-purpose development: this builds documentation for
-- dependencies and disables optimizations for graphql-engine to improve compilation times.
--
-- From the project root, this configuration can be linked directly:
-- $ ln -s cabal/dev.project cabal.project.local
--
-- ...or, it can be copied if you would like to customize any settings:
-- $ cp cabal/cabal.project.dev cabal.project.local
package *
documentation: true
package graphql-engine
-- NOTE: this seems to work so long as there is no 'ghc-options: -O2' in the cabal file,
-- but new-build will report 'Build profile: -O1' for some reason.
-- See:https://github.com/haskell/cabal/issues/6221
optimization: 0
documentation: false