]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Enable the TSN.XML.MLBBoxScore module.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 13 Jan 2015 14:07:55 +0000 (09:07 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 13 Jan 2015 14:07:55 +0000 (09:07 -0500)
.ghci
htsn-import.cabal
src/Main.hs

diff --git a/.ghci b/.ghci
index dfeb6df952c075114e4111f7edd675e29073090e..b3270630eb613fb2814a5c8b4c1962dcd0d69c81 100644 (file)
--- 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
index aca3723f374af38f2b19d465a4d4277da73df415..dc9ff535226eba8443fa59fc4fc09dde9a32a87d 100644 (file)
@@ -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
index a47c669b3544871e0e6bc1413db767fba6bacf66..bd5ed5c1cb07e3c17aadd9c0df946bc304040452 100644 (file)
@@ -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 =