Better executable options, proper major bump

This commit is contained in:
Michael Snoyman 2014-12-12 11:28:23 +02:00
parent 4505cc8b6a
commit e88ef6f74b
2 changed files with 4 additions and 1 deletions

View File

@ -67,7 +67,7 @@ getSettings (LTS bumpType) = do
let new =
case mlts of
Nothing -> LTSVer 0 0
Just old -> incrLTSVer old
Just (LTSVer x _) -> LTSVer (x + 1) 0
plan' <- defaultBuildConstraints >>= newBuildPlan
return (new, plan')
Minor -> do

View File

@ -90,6 +90,7 @@ executable stackage-nightly
main-is: stackage-nightly.hs
build-depends: base
, stackage
ghc-options: -rtsopts -threaded -with-rtsopts=-N
executable lts-minor-bump
default-language: Haskell2010
@ -97,6 +98,7 @@ executable lts-minor-bump
main-is: lts-minor-bump.hs
build-depends: base
, stackage
ghc-options: -rtsopts -threaded -with-rtsopts=-N
executable lts-major-bump
default-language: Haskell2010
@ -104,6 +106,7 @@ executable lts-major-bump
main-is: lts-major-bump.hs
build-depends: base
, stackage
ghc-options: -rtsopts -threaded -with-rtsopts=-N
test-suite spec
type: exitcode-stdio-1.0