2023-03-27 21:51:26 +03:00
|
|
|
cabal-version: 3.6
|
2023-02-02 20:31:15 +03:00
|
|
|
name: incremental
|
2023-02-01 15:23:55 +03:00
|
|
|
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
|
|
|
|
|
2023-02-02 20:31:15 +03:00
|
|
|
test-suite incremental-tests
|
2023-02-01 15:23:55 +03:00
|
|
|
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
|
2023-02-02 20:31:15 +03:00
|
|
|
, incremental
|
2023-02-01 15:23:55 +03:00
|
|
|
, hasura-prelude
|
|
|
|
, hspec
|
|
|
|
, unordered-containers
|
|
|
|
|
|
|
|
build-tool-depends:
|
|
|
|
hspec-discover:hspec-discover
|
|
|
|
|
|
|
|
default-extensions:
|
|
|
|
BlockArguments
|
2023-02-02 02:30:49 +03:00
|
|
|
NoImplicitPrelude
|