Merge pull request #597 from league/avoid-recompile
Tweak .cabal to avoid unneeded recompilation
This commit is contained in:
+4
-27
@@ -22,7 +22,7 @@ Flag CI
|
|||||||
Default: False
|
Default: False
|
||||||
|
|
||||||
executable postgrest
|
executable postgrest
|
||||||
main-is: PostgREST/Main.hs
|
main-is: Main.hs
|
||||||
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes
|
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes
|
||||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
@@ -65,19 +65,7 @@ executable postgrest
|
|||||||
if !os(windows)
|
if !os(windows)
|
||||||
build-depends: unix >= 2.7 && < 3
|
build-depends: unix >= 2.7 && < 3
|
||||||
|
|
||||||
hs-source-dirs: src
|
hs-source-dirs: main
|
||||||
other-modules: Paths_postgrest
|
|
||||||
, PostgREST.App
|
|
||||||
, PostgREST.Auth
|
|
||||||
, PostgREST.Config
|
|
||||||
, PostgREST.Error
|
|
||||||
, PostgREST.Middleware
|
|
||||||
, PostgREST.Parsers
|
|
||||||
, PostgREST.DbStructure
|
|
||||||
, PostgREST.QueryBuilder
|
|
||||||
, PostgREST.RangeQuery
|
|
||||||
, PostgREST.ApiRequest
|
|
||||||
, PostgREST.Types
|
|
||||||
|
|
||||||
library
|
library
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
@@ -136,7 +124,7 @@ Test-Suite spec
|
|||||||
Default-Language: Haskell2010
|
Default-Language: Haskell2010
|
||||||
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes
|
default-extensions: OverloadedStrings, ScopedTypeVariables, QuasiQuotes
|
||||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||||
Hs-Source-Dirs: test, src
|
Hs-Source-Dirs: test
|
||||||
Main-Is: Main.hs
|
Main-Is: Main.hs
|
||||||
Other-Modules: Feature.AuthSpec
|
Other-Modules: Feature.AuthSpec
|
||||||
, Feature.ConcurrentSpec
|
, Feature.ConcurrentSpec
|
||||||
@@ -148,18 +136,6 @@ Test-Suite spec
|
|||||||
, Feature.RangeSpec
|
, Feature.RangeSpec
|
||||||
, Feature.StructureSpec
|
, Feature.StructureSpec
|
||||||
, Feature.UnicodeSpec
|
, Feature.UnicodeSpec
|
||||||
, Paths_postgrest
|
|
||||||
, PostgREST.App
|
|
||||||
, PostgREST.Auth
|
|
||||||
, PostgREST.Config
|
|
||||||
, PostgREST.Error
|
|
||||||
, PostgREST.Middleware
|
|
||||||
, PostgREST.Parsers
|
|
||||||
, PostgREST.DbStructure
|
|
||||||
, PostgREST.QueryBuilder
|
|
||||||
, PostgREST.RangeQuery
|
|
||||||
, PostgREST.ApiRequest
|
|
||||||
, PostgREST.Types
|
|
||||||
, SpecHelper
|
, SpecHelper
|
||||||
, TestTypes
|
, TestTypes
|
||||||
Build-Depends: aeson
|
Build-Depends: aeson
|
||||||
@@ -188,6 +164,7 @@ Test-Suite spec
|
|||||||
, mtl
|
, mtl
|
||||||
, optparse-applicative
|
, optparse-applicative
|
||||||
, parsec
|
, parsec
|
||||||
|
, postgrest
|
||||||
, process
|
, process
|
||||||
, regex-tdfa
|
, regex-tdfa
|
||||||
, safe
|
, safe
|
||||||
|
|||||||
Reference in New Issue
Block a user