mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
476eb5fe2b
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3647 GitOrigin-RevId: 82fb189c2bff9dce1c1b2e8e9dd2be4d9bc7f527
100 lines
3.1 KiB
Plaintext
100 lines
3.1 KiB
Plaintext
-- Global project configuration.
|
|
--
|
|
-- This file can be overridden with cabal.project.local (see e.g. cabal.project.dev)
|
|
--
|
|
-- If you need to switch between several local configurations you can also
|
|
-- create a symlink to this file with a different name, e.g.:
|
|
-- $ ln -s cabal.project cabal.project.myconfig
|
|
-- $ ln -s cabal.project.freeze cabal.project.myconfig.freeze
|
|
-- ...and then create a new set of overrides in:
|
|
-- cabal.project.myconfig.local
|
|
-- ...and then invoke cabal with
|
|
-- $ cabal new-build --project-file=cabal.project.myconfig
|
|
--
|
|
-- See: https://www.haskell.org/cabal/users-guide/nix-local-build.html#configuring-builds-with-cabal-project
|
|
|
|
with-compiler: ghc-8.10.7
|
|
|
|
-- package-level parallelism:
|
|
jobs: $ncpus
|
|
|
|
packages: server
|
|
|
|
constraints:
|
|
-- Ensure we don't end up with a freeze file that forces an incompatible
|
|
-- version in CI for `Setup.hs` scripts.
|
|
setup.Cabal <3.4
|
|
|
|
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
|
|
|
|
package graphql-engine
|
|
ghc-options: -j
|
|
haddock-options: "--show-all"
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/kriti-lang.git
|
|
tag: b8ca3ae9659db882f24a0f707a0eadca4fcc7516
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/pg-client-hs.git
|
|
tag: f28738e18b7038627fb59b93dbc67929fe427c57
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/graphql-parser-hs.git
|
|
tag: 36212bcc3815434a1bc25dc96f091a783b880ca4
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ci-info-hs.git
|
|
tag: be578a01979fc95137cc2c84827f9fafb99df60f
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/pool.git
|
|
tag: bc4c3f739a8fb8ec4444336a34662895831c9acf
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/fpco/odbc.git
|
|
tag: 3d80ffdd4a2879f0debecabb56d834d2d898212b
|
|
|
|
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: ac51c3834e242833e9735394295cbcaa583233f8
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ekg-json.git
|
|
tag: 84990712c165d7e3e76b2b289640ef8b5033f12f
|
|
|
|
-- This is v1.2.3.2 with https://github.com/haskell/text/pull/348
|
|
-- cherry-picked. When 1.3 is released we can move from this fork.
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/text.git
|
|
tag: 874c3164fadf39a83382359d2b6ce941a3e134da
|
|
|