From ae0d0b12c4e17705a01f3bdd78a2a3743b17bdf7 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Mon, 7 Sep 2015 10:06:53 +0300 Subject: [PATCH] Deprecate yesod init in favor of stack new --- yesod-bin/main.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yesod-bin/main.hs b/yesod-bin/main.hs index c4292153..022b8542 100755 --- a/yesod-bin/main.hs +++ b/yesod-bin/main.hs @@ -102,7 +102,9 @@ main = do ] optParser' let cabal = rawSystem' (cabalCommand o) 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 Configure -> cabal ["configure"] Build es -> touch' >> cabal ("build":es)