Deprecate yesod init in favor of stack new
This commit is contained in:
parent
d785094ec9
commit
ae0d0b12c4
@ -102,7 +102,9 @@ main = do
|
|||||||
] optParser'
|
] optParser'
|
||||||
let cabal = rawSystem' (cabalCommand o)
|
let cabal = rawSystem' (cabalCommand o)
|
||||||
case optCommand o of
|
case optCommand o of
|
||||||
Init{..} -> scaffold _initBare _initName _initDatabase
|
Init{..} -> do
|
||||||
|
putStrLn "NOTE: This command has been deprecated in favor of 'stack new'"
|
||||||
|
scaffold _initBare _initName _initDatabase
|
||||||
HsFiles -> mkHsFile
|
HsFiles -> mkHsFile
|
||||||
Configure -> cabal ["configure"]
|
Configure -> cabal ["configure"]
|
||||||
Build es -> touch' >> cabal ("build":es)
|
Build es -> touch' >> cabal ("build":es)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user