The `dumpQi` function is only used in the `Config.hs` module, so it is moved there. This also adds a doctest for `quoteQi` and clarifies its usage. Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
28 lines
673 B
Haskell
28 lines
673 B
Haskell
module Main (main) where
|
|
|
|
import Test.DocTest (doctest)
|
|
|
|
import Protolude
|
|
|
|
|
|
main :: IO ()
|
|
main =
|
|
doctest
|
|
[ "-XOverloadedStrings"
|
|
, "-XNoImplicitPrelude"
|
|
, "-XStandaloneDeriving"
|
|
, "-XDuplicateRecordFields"
|
|
, "-isrc"
|
|
, "src/PostgREST/ApiRequest/Preferences.hs"
|
|
, "src/PostgREST/ApiRequest/QueryParams.hs"
|
|
, "src/PostgREST/Config.hs"
|
|
, "src/PostgREST/Error.hs"
|
|
, "src/PostgREST/MediaType.hs"
|
|
, "src/PostgREST/Network.hs"
|
|
, "src/PostgREST/Plan.hs"
|
|
, "src/PostgREST/Query/SqlFragment.hs"
|
|
, "src/PostgREST/Response.hs"
|
|
, "src/PostgREST/Response/Performance.hs"
|
|
, "src/PostgREST/SchemaCache/Identifiers.hs"
|
|
]
|