@@ -140,6 +140,9 @@ diffToReport diff =
140 , D.indent 4 $ D.green $ "elm diff elm/html 5.1.1 6.0.0"
140 , D.indent 4 $ D.green $ "elm diff elm/html 5.1.1 6.0.0"
143+ DiffBadOutline outline ->
144+ toOutlineReport outline
143 DiffApplication ->
146 DiffApplication ->
144 Help.report "CANNOT DIFF APPLICATIONS" Nothing
147 Help.report "CANNOT DIFF APPLICATIONS" Nothing
145 "It looks like you are running `elm diff` on an application, but it\
148 "It looks like you are running `elm diff` on an application, but it\
@@ -149,6 +152,9 @@ diffToReport diff =
149 , D.indent 4 $ D.green $ "elm diff elm/html 5.1.1 6.0.0"
152 , D.indent 4 $ D.green $ "elm diff elm/html 5.1.1 6.0.0"
156+ error "TODO DiffNoExposed"
152 DiffUnpublished ->
158 DiffUnpublished ->
153 Help.report "UNPUBLISHED" Nothing
159 Help.report "UNPUBLISHED" Nothing
154 "This package is not published yet. There is nothing to diff against!"
160 "This package is not published yet. There is nothing to diff against!"
@@ -188,6 +194,12 @@ diffToReport diff =
188 DiffBadRegistry problem ->
194 DiffBadRegistry problem ->
189 error "TODO DiffBadRegistry" problem
195 error "TODO DiffBadRegistry" problem
197+ DiffBadDetails details ->
198+ error "TODO DiffBadDetails" details
200+ DiffBadBuild buildProblem ->
201+ error "TODO DiffBadBuild" buildProblem
@@ -205,6 +217,12 @@ data Bump
205bumpToReport :: Bump -> Help.Report
217bumpToReport :: Bump -> Help.Report
206bumpToReport bump =
218bumpToReport bump =
207 case bump of
219 case bump of
221+ error "TODO BumpNoOutline"
223+ BumpBadOutline outline ->
224+ toOutlineReport outline
208 BumpApplication ->
226 BumpApplication ->
209 Help.report "CANNOT BUMP APPLICATIONS" (Just "elm.json")
227 Help.report "CANNOT BUMP APPLICATIONS" (Just "elm.json")
210 "Your elm.json says this is an application. That means it cannot be published\
228 "Your elm.json says this is an application. That means it cannot be published\
@@ -299,8 +317,11 @@ publishToReport publish =
299 PublishNoOutline ->
317 PublishNoOutline ->
300 error "TODO PublishNoOutline"
318 error "TODO PublishNoOutline"
302− PublishBadOutline problem ->
320+ PublishBadOutline outline ->
321+ toOutlineReport outline
323+ PublishBadDetails problem ->
303− error "TODO PublishBadOutline" problem
324+ error "TODO PublishBadDetails" problem
305 PublishMustHaveLatestRegistry problem ->
326 PublishMustHaveLatestRegistry problem ->
306 error "TODO PublishMustHaveLatestRegistry" problem
327 error "TODO PublishMustHaveLatestRegistry" problem
@@ -434,6 +455,9 @@ publishToReport publish =
434 \ named LICENSE. Add that file and you will be all set!"
455 \ named LICENSE. Add that file and you will be all set!"
458+ PublishBuildProblem buildProblem ->
459+ error "TODO PublishBuildProblem" buildProblem
437 PublishCannotGetTag httpError ->
461 PublishCannotGetTag httpError ->
438 error "TODO PublishCannotGetTag" httpError
462 error "TODO PublishCannotGetTag" httpError
@@ -497,6 +521,18 @@ publishToReport publish =
497 ++ vsn ++ "` and publish your code from there."
521 ++ vsn ++ "` and publish your code from there."
524+ PublishZipBadDetails details ->
525+ error "TODO PublishZipBadDetails" details
527+ PublishZipApplication ->
528+ error "TODO PublishZipApplication"
530+ PublishZipNoExposed ->
531+ error "TODO PublishZipNoExposed"
533+ PublishZipBuildProblem buildProblem ->
534+ error "TODO PublishZipBuildProblem" buildProblem
501toBadReadmeReport :: String -> String -> Help.Report
537toBadReadmeReport :: String -> String -> Help.Report
502toBadReadmeReport title summary =
538toBadReadmeReport title summary =
@@ -778,8 +814,8 @@ detailsToReport details =
778 DetailsHandEditedDependencies ->
814 DetailsHandEditedDependencies ->
779 error "TODO DetailsHandEditedDependencies"
815 error "TODO DetailsHandEditedDependencies"
781− DetailsBadOutline outlineProblem ->
817+ DetailsBadOutline outline ->
782− toOutlineReport outlineProblem
818+ toOutlineReport outline
784 DetailsCannotGetRegistry problem ->
820 DetailsCannotGetRegistry problem ->
785 error "TODO DetailsCannotGetRegistry" problem
821 error "TODO DetailsCannotGetRegistry" problem