mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +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 =
|
||||
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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user