From f9e539dddc3ee65ccca337e999f7c5ab8511b125 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 13 Jan 2015 09:07:55 -0500 Subject: [PATCH] Enable the TSN.XML.MLBBoxScore module. --- .ghci | 2 ++ htsn-import.cabal | 1 + src/Main.hs | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/.ghci b/.ghci index dfeb6df..b327063 100644 --- a/.ghci +++ b/.ghci @@ -26,6 +26,7 @@ src/TSN/XML/Injuries.hs src/TSN/XML/InjuriesDetail.hs src/TSN/XML/JFile.hs + src/TSN/XML/MLBBoxScore.hs src/TSN/XML/MLBEarlyLine.hs src/TSN/XML/News.hs src/TSN/XML/Odds.hs @@ -59,6 +60,7 @@ import TSN.XML.Heartbeat import TSN.XML.Injuries import TSN.XML.InjuriesDetail import TSN.XML.JFile +import TSN.XML.MLBBoxScore import TSN.XML.MLBEarlyLine import TSN.XML.News import TSN.XML.Odds diff --git a/htsn-import.cabal b/htsn-import.cabal index aca3723..dc9ff53 100644 --- a/htsn-import.cabal +++ b/htsn-import.cabal @@ -301,6 +301,7 @@ executable htsn-import TSN.XML.Injuries TSN.XML.InjuriesDetail TSN.XML.JFile + TSN.XML.MLBBoxScore TSN.XML.MLBEarlyLine TSN.XML.News TSN.XML.Odds diff --git a/src/Main.hs b/src/Main.hs index a47c669..bd5ed5c 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -64,6 +64,9 @@ import qualified TSN.XML.Injuries as Injuries ( dtd, pickle_message ) import qualified TSN.XML.InjuriesDetail as InjuriesDetail ( dtd, pickle_message ) +import qualified TSN.XML.MLBBoxScore as MLBBoxScore ( + dtd, + pickle_message ) import qualified TSN.XML.MLBEarlyLine as MLBEarlyLine ( dtd, pickle_message ) @@ -217,6 +220,8 @@ import_file cfg path = do | dtd == JFile.dtd = go JFile.pickle_message + | dtd == MLBBoxScore.dtd = go MLBBoxScore.pickle_message + | dtd == MLBEarlyLine.dtd = go MLBEarlyLine.pickle_message | dtd == News.dtd = -- 2.44.2