mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
b73ce89205
The only purpose was enabling the developer API by default. I don't think that justifies a flag and CPP usage. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3820 GitOrigin-RevId: 058c9a7b03e5e164ef88e35c42f50bae3c42b5b6
21 lines
706 B
Plaintext
21 lines
706 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
|
|
|