graphql-engine/cabal.project.dev
jkachmar 3332e76e9f Updates cabal.project.dev to use 8.10.7
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2885
GitOrigin-RevId: 49cf6264bb1e615351813291541d89e9343e55cc
2021-11-16 17:03:08 +00:00

22 lines
726 B
Plaintext

-- A project configuration for general-purpose development: this builds documentation for
-- dependencies and disables optimizations for graphql-engine to improve compilation times.
--
-- To enable this, you can do:
-- $ ln -s cabal.project.dev cabal.project.local
-- Or, if you want to customize the configuration:
-- $ cp cabal.project.dev cabal.project.local
with-compiler: ghc-8.10.7
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
flags: +developer