2022-07-27 07:36:56 +03:00
|
|
|
cabal-version: 1.12
|
|
|
|
|
2022-07-29 19:21:00 +03:00
|
|
|
-- This file is generated using hpack.
|
|
|
|
-- Do not modify it directly. Instead, edit package.yaml and then run:
|
|
|
|
-- make server/lib/error-message/hasura-error-message.cabal
|
|
|
|
|
2022-07-27 07:36:56 +03:00
|
|
|
-- This file has been generated from package.yaml by hpack version 0.34.7.
|
|
|
|
--
|
|
|
|
-- see: https://github.com/sol/hpack
|
|
|
|
|
|
|
|
name: hasura-error-message
|
|
|
|
version: 1.0.0
|
|
|
|
description: An error message type that makes it difficult to convert back to text.
|
|
|
|
homepage: https://github.com/hasura/github-engine#readme
|
|
|
|
bug-reports: https://github.com/hasura/github-engine/issues
|
|
|
|
author: Hasura, Inc.
|
|
|
|
maintainer: Hasura, Inc.
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files:
|
|
|
|
../../../LICENSE
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/hasura/github-engine
|
|
|
|
|
2022-08-05 16:52:33 +03:00
|
|
|
flag optimize-hasura
|
|
|
|
description: Compile hasura code with appropriate optimizations
|
|
|
|
manual: False
|
|
|
|
default: True
|
|
|
|
|
|
|
|
flag profiling
|
|
|
|
description: Configures the project to be profiling-compatible
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2022-07-27 07:36:56 +03:00
|
|
|
library
|
|
|
|
exposed-modules:
|
|
|
|
Hasura.Base.ErrorMessage
|
|
|
|
Hasura.Base.ErrorValue
|
|
|
|
Hasura.Base.ToErrorValue
|
|
|
|
other-modules:
|
|
|
|
Paths_hasura_error_message
|
|
|
|
hs-source-dirs:
|
|
|
|
src
|
|
|
|
default-extensions:
|
|
|
|
BlockArguments
|
|
|
|
DerivingStrategies
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
ImportQualifiedPost
|
|
|
|
OverloadedStrings
|
|
|
|
ScopedTypeVariables
|
2022-08-05 16:52:33 +03:00
|
|
|
ghc-options: -foptimal-applicative-do -Wall -Werror -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wmissing-export-lists
|
2022-07-27 07:36:56 +03:00
|
|
|
build-depends:
|
|
|
|
aeson
|
|
|
|
, base
|
|
|
|
, graphql-parser
|
|
|
|
, text
|
|
|
|
, unordered-containers
|
2022-08-05 16:52:33 +03:00
|
|
|
if flag(profiling)
|
|
|
|
cpp-options: -DPROFILING
|
|
|
|
if flag(optimize-hasura)
|
|
|
|
ghc-options: -fexpose-all-unfoldings -O2
|
|
|
|
else
|
|
|
|
ghc-options: -O0
|
2022-07-27 07:36:56 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
test-suite tests
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules:
|
|
|
|
Hasura.Base.ErrorMessageSpec
|
|
|
|
Paths_hasura_error_message
|
|
|
|
hs-source-dirs:
|
|
|
|
test
|
|
|
|
default-extensions:
|
|
|
|
BlockArguments
|
|
|
|
DerivingStrategies
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
ImportQualifiedPost
|
|
|
|
OverloadedStrings
|
|
|
|
ScopedTypeVariables
|
2022-08-05 16:52:33 +03:00
|
|
|
ghc-options: -foptimal-applicative-do -Wall -Werror -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -Wmissing-export-lists -main-is Main
|
2022-07-27 07:36:56 +03:00
|
|
|
build-depends:
|
|
|
|
aeson
|
|
|
|
, base
|
|
|
|
, graphql-parser
|
|
|
|
, hashable
|
|
|
|
, hasura-error-message
|
|
|
|
, hspec
|
|
|
|
, text
|
|
|
|
, unordered-containers
|
|
|
|
, vector
|
2022-08-05 16:52:33 +03:00
|
|
|
if flag(profiling)
|
|
|
|
cpp-options: -DPROFILING
|
|
|
|
if flag(optimize-hasura)
|
|
|
|
ghc-options: -fexpose-all-unfoldings -O2
|
|
|
|
else
|
|
|
|
ghc-options: -O0
|
2022-07-27 07:36:56 +03:00
|
|
|
default-language: Haskell2010
|