graphql-engine/server/lib/incremental/incremental.cabal
Daniel Harvey e953efeb40 [ci] test the libraries in server/lib
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7758
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: 311f6c4a5c629c18a55d75a5d5a74f826078e86d
2023-02-02 17:32:48 +00:00

99 lines
2.2 KiB
Plaintext

cabal-version: 2.2
name: incremental
version: 1.0.0
build-type: Simple
copyright: Hasura Inc.
extra-source-files: README.md
library
hs-source-dirs: src
default-language: GHC2021
ghc-options:
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
-Wno-unused-packages
build-depends:
, base
, arrows-extra
, dependent-map
, dependent-sum
, hasura-prelude
, profunctors
, reflection
, some
, unordered-containers
exposed-modules:
Hasura.Incremental
Hasura.Incremental.Internal.Cache
Hasura.Incremental.Internal.Dependency
Hasura.Incremental.Internal.Rule
Hasura.Incremental.Select
default-extensions:
BlockArguments
DefaultSignatures
DerivingVia
FunctionalDependencies
LambdaCase
MultiWayIf
NoImplicitPrelude
PackageImports
RoleAnnotations
TypeFamilies
test-suite incremental-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
default-language: GHC2021
ghc-options:
-- Taken from https://medium.com/mercury-bank/enable-all-the-warnings-a0517bc081c3
-Weverything
-Wno-missing-exported-signatures
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-kind-signatures
-Wno-missing-safe-haskell-mode
-- We want these warnings, but the code doesn't satisfy them yet:
-Wno-missing-deriving-strategies
-Wno-unused-packages
other-modules:
Hasura.IncrementalSpec
build-depends:
, base
, arrows-extra
, incremental
, hasura-prelude
, hspec
, unordered-containers
build-tool-depends:
hspec-discover:hspec-discover
default-extensions:
BlockArguments
NoImplicitPrelude