mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
4049fbd728
This makes it far easier to add new packages without having to add GHC flags everywhere. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9684 GitOrigin-RevId: 1470b618a7e6582ad5053680c89df0c81920402e
35 lines
981 B
Plaintext
35 lines
981 B
Plaintext
-- The project configuration used when building in CI.
|
|
|
|
reject-unconstrained-dependencies: all
|
|
|
|
package *
|
|
ghc-options:
|
|
-- We compile with package-level parallelism, so just use a small amount
|
|
-- of module-level parallelism for dependencies:
|
|
-j2
|
|
-- For performance, with `-j`:
|
|
+RTS -A64m -n2m -RTS
|
|
|
|
-- Enable optimizations in all local (hasura) packages:
|
|
flags: +optimize-hasura
|
|
|
|
-- Set common options
|
|
program-options
|
|
ghc-options: -j -Werror
|
|
|
|
package graphql-engine
|
|
tests: true
|
|
benchmarks: true
|
|
|
|
-- %%%-BEGIN-PRO-ONLY-CONTENT-%%%
|
|
|
|
-- NOTE:
|
|
-- The label directly above this note marks the beginning of the pro-only
|
|
-- section of this file that should be removed by `Copybara` when migrating
|
|
-- this file to the public `graphql-engine` repository. We use a simple
|
|
-- regular expression to identify these segments (see the "transformations" in
|
|
-- `copy.bara.sky`), so please take care when manipulating this label!
|
|
|
|
package graphql-engine-pro
|
|
tests: true
|