on master help sign in
Point people towards `elm init` for new projects
bfc3284Evan Czaplicki
builder/src/Reporting/Exit.hs+4−9
@@ -67,15 +67,10 @@ toReport exit =
67 case exit of
67 case exit of
68 NoElmJson ->
68 NoElmJson ->
69 Help.report "NO elm.json FILE" Nothing
69 Help.report "NO elm.json FILE" Nothing
70− "I cannot continue without an elm.json file. Read more about them here:"
70+ "It looks like you are starting a new Elm project. Very exciting! Try running:"
71− [ D.indent 4 $ D.dullyellow $ D.vcat $ map D.fromString $
71+ [ D.indent 4 $ D.green $ "elm init"
72− [ D.makeLink "elm.json/application.md"
72+ , D.reflow $
73− , D.makeLink "elm.json/package.md"
73+ "It will help you get set up. It is really simple!"
74− ]
75− , "And if you would rather work from a larger example, check out:"
76− , D.indent 4 $ D.dullyellow $ D.vcat $ map D.fromString $
77− [ D.makeLink "todomvc"
78− ]
79 ]
74 ]
80
75
81 Assets assetExit ->
76 Assets assetExit ->