mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-19 18:51:58 +01:00
Better executable options, proper major bump
This commit is contained in:
parent
4505cc8b6a
commit
e88ef6f74b
@ -67,7 +67,7 @@ getSettings (LTS bumpType) = do
|
|||||||
let new =
|
let new =
|
||||||
case mlts of
|
case mlts of
|
||||||
Nothing -> LTSVer 0 0
|
Nothing -> LTSVer 0 0
|
||||||
Just old -> incrLTSVer old
|
Just (LTSVer x _) -> LTSVer (x + 1) 0
|
||||||
plan' <- defaultBuildConstraints >>= newBuildPlan
|
plan' <- defaultBuildConstraints >>= newBuildPlan
|
||||||
return (new, plan')
|
return (new, plan')
|
||||||
Minor -> do
|
Minor -> do
|
||||||
|
|||||||
@ -90,6 +90,7 @@ executable stackage-nightly
|
|||||||
main-is: stackage-nightly.hs
|
main-is: stackage-nightly.hs
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, stackage
|
, stackage
|
||||||
|
ghc-options: -rtsopts -threaded -with-rtsopts=-N
|
||||||
|
|
||||||
executable lts-minor-bump
|
executable lts-minor-bump
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
@ -97,6 +98,7 @@ executable lts-minor-bump
|
|||||||
main-is: lts-minor-bump.hs
|
main-is: lts-minor-bump.hs
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, stackage
|
, stackage
|
||||||
|
ghc-options: -rtsopts -threaded -with-rtsopts=-N
|
||||||
|
|
||||||
executable lts-major-bump
|
executable lts-major-bump
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
@ -104,6 +106,7 @@ executable lts-major-bump
|
|||||||
main-is: lts-major-bump.hs
|
main-is: lts-major-bump.hs
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, stackage
|
, stackage
|
||||||
|
ghc-options: -rtsopts -threaded -with-rtsopts=-N
|
||||||
|
|
||||||
test-suite spec
|
test-suite spec
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user