From de8c72a95020adaadeb52c19a7174a3f1d7be002 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Tue, 25 Aug 2020 09:45:37 -0500 Subject: [PATCH] turn on optimized output --- Makefile | 2 +- src/Main.elm | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 88a378c..310a405 100644 --- a/Makefile +++ b/Makefile @@ -5,4 +5,4 @@ dist: dist/index.html $(shell find static -type f) dist/index.html: $(shell find src -type f -name '*.elm') elm.json @mkdir -p dist - elm make src/Main.elm --output $@ + elm make src/Main.elm --optimize --output $@ diff --git a/src/Main.elm b/src/Main.elm index 21b0a77..56f65d6 100644 --- a/src/Main.elm +++ b/src/Main.elm @@ -153,10 +153,7 @@ update msg model = |> startNextMatchIfPossible LoadedStandings (Err problem) -> - let - _ = - Debug.log "problem" problem - in + -- TODO: show a problem ( model, Cmd.none )