mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-07 08:37:28 +01:00
Make more stack ghci friendly
This commit is contained in:
parent
a030ba4afb
commit
a9534e5390
@ -1,3 +1,4 @@
|
|||||||
|
import Prelude
|
||||||
import Stackage.Database.Cron
|
import Stackage.Database.Cron
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
|
|||||||
@ -193,6 +193,37 @@ executable stackage-server
|
|||||||
|
|
||||||
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
|
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
|
||||||
|
|
||||||
|
extensions: TemplateHaskell
|
||||||
|
QuasiQuotes
|
||||||
|
OverloadedStrings
|
||||||
|
NoImplicitPrelude
|
||||||
|
CPP
|
||||||
|
MultiParamTypeClasses
|
||||||
|
TypeFamilies
|
||||||
|
GADTs
|
||||||
|
GeneralizedNewtypeDeriving
|
||||||
|
FlexibleContexts
|
||||||
|
EmptyDataDecls
|
||||||
|
NoMonomorphismRestriction
|
||||||
|
DeriveDataTypeable
|
||||||
|
ViewPatterns
|
||||||
|
TypeSynonymInstances
|
||||||
|
FlexibleInstances
|
||||||
|
RankNTypes
|
||||||
|
FunctionalDependencies
|
||||||
|
PatternGuards
|
||||||
|
StandaloneDeriving
|
||||||
|
UndecidableInstances
|
||||||
|
RecordWildCards
|
||||||
|
ScopedTypeVariables
|
||||||
|
BangPatterns
|
||||||
|
TupleSections
|
||||||
|
DeriveGeneric
|
||||||
|
DeriveFunctor
|
||||||
|
DeriveFoldable
|
||||||
|
DeriveTraversable
|
||||||
|
LambdaCase
|
||||||
|
|
||||||
executable stackage-server-cron
|
executable stackage-server-cron
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
Buildable: False
|
Buildable: False
|
||||||
@ -203,6 +234,37 @@ executable stackage-server-cron
|
|||||||
|
|
||||||
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
|
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
|
||||||
|
|
||||||
|
extensions: TemplateHaskell
|
||||||
|
QuasiQuotes
|
||||||
|
OverloadedStrings
|
||||||
|
NoImplicitPrelude
|
||||||
|
CPP
|
||||||
|
MultiParamTypeClasses
|
||||||
|
TypeFamilies
|
||||||
|
GADTs
|
||||||
|
GeneralizedNewtypeDeriving
|
||||||
|
FlexibleContexts
|
||||||
|
EmptyDataDecls
|
||||||
|
NoMonomorphismRestriction
|
||||||
|
DeriveDataTypeable
|
||||||
|
ViewPatterns
|
||||||
|
TypeSynonymInstances
|
||||||
|
FlexibleInstances
|
||||||
|
RankNTypes
|
||||||
|
FunctionalDependencies
|
||||||
|
PatternGuards
|
||||||
|
StandaloneDeriving
|
||||||
|
UndecidableInstances
|
||||||
|
RecordWildCards
|
||||||
|
ScopedTypeVariables
|
||||||
|
BangPatterns
|
||||||
|
TupleSections
|
||||||
|
DeriveGeneric
|
||||||
|
DeriveFunctor
|
||||||
|
DeriveFoldable
|
||||||
|
DeriveTraversable
|
||||||
|
LambdaCase
|
||||||
|
|
||||||
test-suite test
|
test-suite test
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: main.hs
|
main-is: main.hs
|
||||||
@ -222,3 +284,34 @@ test-suite test
|
|||||||
, classy-prelude-yesod >= 0.12 && < 0.13
|
, classy-prelude-yesod >= 0.12 && < 0.13
|
||||||
, mtl >= 2.2 && < 2.3
|
, mtl >= 2.2 && < 2.3
|
||||||
, mwc-random >= 0.13 && < 0.14
|
, mwc-random >= 0.13 && < 0.14
|
||||||
|
|
||||||
|
extensions: TemplateHaskell
|
||||||
|
QuasiQuotes
|
||||||
|
OverloadedStrings
|
||||||
|
NoImplicitPrelude
|
||||||
|
CPP
|
||||||
|
MultiParamTypeClasses
|
||||||
|
TypeFamilies
|
||||||
|
GADTs
|
||||||
|
GeneralizedNewtypeDeriving
|
||||||
|
FlexibleContexts
|
||||||
|
EmptyDataDecls
|
||||||
|
NoMonomorphismRestriction
|
||||||
|
DeriveDataTypeable
|
||||||
|
ViewPatterns
|
||||||
|
TypeSynonymInstances
|
||||||
|
FlexibleInstances
|
||||||
|
RankNTypes
|
||||||
|
FunctionalDependencies
|
||||||
|
PatternGuards
|
||||||
|
StandaloneDeriving
|
||||||
|
UndecidableInstances
|
||||||
|
RecordWildCards
|
||||||
|
ScopedTypeVariables
|
||||||
|
BangPatterns
|
||||||
|
TupleSections
|
||||||
|
DeriveGeneric
|
||||||
|
DeriveFunctor
|
||||||
|
DeriveFoldable
|
||||||
|
DeriveTraversable
|
||||||
|
LambdaCase
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user