mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
f2931a4d32
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5735 Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com> Co-authored-by: Alexis King <759911+lexi-lambda@users.noreply.github.com> Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com> Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com> Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com> Co-authored-by: Lyndon Maydwell <92299+sordina@users.noreply.github.com> Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com> Co-authored-by: Evie Ciobanu <1017953+eviefp@users.noreply.github.com> Co-authored-by: Swann Moreau <62569634+evertedsphere@users.noreply.github.com> Co-authored-by: jkachmar <8461423+jkachmar@users.noreply.github.com> Co-authored-by: Robert <132113+robx@users.noreply.github.com> Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com> Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com> Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com> GitOrigin-RevId: 6a3940b2596fc178379b85d5fa79bd9ac83457e2
120 lines
3.6 KiB
Plaintext
120 lines
3.6 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-8.10.7
|
|
|
|
-- 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"
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/kriti-lang.git
|
|
tag: v0.3.2
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/graphql-parser-hs.git
|
|
tag: b65932b2dc40b90820c7be6a2aa2f6646a13b023
|
|
|
|
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: c5faf9a358e83eaf15fef0c1e890f463d0022565
|
|
|
|
-- 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: b0cdc337ca2a52e392d427916ba3e28246b396c0
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ekg-prometheus.git
|
|
tag: v0.2.0.0
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ekg-json.git
|
|
tag: 84990712c165d7e3e76b2b289640ef8b5033f12f
|
|
|
|
-- 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
|
|
|
|
-------- GHC 9.2 SPOCK-RELATED FORKS
|
|
-- NOTE: jberryman is a Spock maintainer now
|
|
-- see discussion: https://hasurahq.slack.com/archives/C03263T1L9W/p1649087218167979
|
|
|
|
-- This is an unreleased version of "Spock-core"
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/agrafix/Spock.git
|
|
tag: efc06e4b4e91f63579d04eb15ec850cf7a5ebccf
|
|
subdir: Spock-core
|
|
|
|
-- This is an unreleased version of "reroute-core", needed for "Spock-core"
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/agrafix/Spock.git
|
|
tag: efc06e4b4e91f63579d04eb15ec850cf7a5ebccf
|
|
subdir: reroute
|
|
|