mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
c5a1dacc35
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8938 Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com> GitOrigin-RevId: c120910b256d07ef2a4a88a8f79a8e1e412305c3
106 lines
3.3 KiB
Plaintext
106 lines
3.3 KiB
Plaintext
-- Global project configuration.
|
|
|
|
--
|
|
-- This file can be overridden with cabal.project.local (see e.g. cabal/dev.project)
|
|
--
|
|
-- If you need to switch between several local configurations you can also create a
|
|
-- symbolic link to this file in the project root directory; e.g.:
|
|
-- $ ln -s cabal.project myconfig.project
|
|
-- $ ln -s cabal.project.freeze myconfig.project.freeze
|
|
--
|
|
-- ...and then create a new set of overrides in:
|
|
-- myconfig.project.local
|
|
--
|
|
-- ...and then invoke cabal with
|
|
-- $ cabal new-build --project-file=myconfig.project
|
|
--
|
|
-- See: https://www.haskell.org/cabal/users-guide/nix-local-build.html#configuring-builds-with-cabal-project
|
|
|
|
with-compiler: ghc-9.2.5
|
|
-- TODO WHEN WE NEXT UPGRADE GHC: move `-split-sections/--gc-sections` from ci.project.local into this file
|
|
|
|
-- package-level parallelism:
|
|
jobs: $ncpus
|
|
|
|
packages: server
|
|
packages: server/lib/*/*.cabal
|
|
|
|
package *
|
|
-- NOTE: this gets applied to both local (hasura) packages and dependencies,
|
|
-- but optimizations for local hasura packages are overridden/controlled
|
|
-- via the 'optimize-hasura' flag.
|
|
optimization: 2
|
|
-- For tooling, e.g. 'weeder', and IDE-like stuff:
|
|
ghc-options: -fwrite-ide-info
|
|
|
|
haddock-html: true
|
|
haddock-hoogle: true
|
|
haddock-hyperlink-source: true
|
|
haddock-quickjump: true
|
|
haddock-internal: true
|
|
|
|
package graphql-engine
|
|
ghc-options: -j
|
|
haddock-options: "--show-all"
|
|
|
|
allow-newer: hedgehog-generic:base
|
|
allow-newer: hedgehog-generic:hedgehog
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/kriti-lang.git
|
|
tag: c8fd863d359876af3a0fce47db8a5393dc556667
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ci-info-hs.git
|
|
tag: be578a01979fc95137cc2c84827f9fafb99df60f
|
|
|
|
-- This is an unrelesaed version of "odbc"
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/fpco/odbc.git
|
|
tag: 38e04349fe28a91f189e44bd7783220956d18aae
|
|
|
|
package odbc
|
|
ghc-options: -Wwarn
|
|
-- Our CI compiles with -Werror, which is also applied to those packages
|
|
-- while it's fine for packages we maintain, we can't actually enforce
|
|
-- that third-party packages are warning-free, hence this -Wno-error.
|
|
-- When the changes in odbc are released, we can instead depend on
|
|
-- the hackage version, and remove it from this list of packages.
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ekg-core.git
|
|
tag: df610859603b504494ad770bdbb7053a7f0b9a6c
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ekg-prometheus.git
|
|
tag: v0.3.0.0
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ekg-json.git
|
|
tag: 1fab6837e1dd98317a3c2f5bf9deedf4dfcac51b
|
|
|
|
-- This is v1.2.5.0 with https://github.com/haskell/text/pull/348
|
|
-- cherry-picked.
|
|
-- These changes are in version 2.0, but hopefully they can get backported:
|
|
-- https://github.com/haskell/text/issues/452
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/text.git
|
|
tag: ba0fd2bf256c996a6c85dbdc8590a6fcde41b8f8
|
|
|
|
-- This is a version of Sandwich 0.1.2.0 but including
|
|
-- this PR https://github.com/codedownio/sandwich/pull/69
|
|
-- which adds the ability to skip tests from the command line
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/sandwich.git
|
|
tag: v0.1.2.0-incl-skipping.0
|
|
subdir: sandwich
|
|
|