graphql-engine/cabal/dev.project
jkachmar 6720aef26f server: Clean up Cabal project files
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4105
GitOrigin-RevId: 423eecf04061ca8d5ee036a84ee6792036a149e4
2022-04-07 07:16:12 +00:00

22 lines
774 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
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