Merge unC0Rr's checker update
authorWuzzy <Wuzzy2@mail.ru>
Tue, 21 Aug 2018 18:35:19 +0200
changeset 13677 5f904c292699
parent 13676 05fde8e30041 (current diff)
parent 13672 8bd973ab9c9c (diff)
child 13678 6ee86971b3c7
Merge unC0Rr's checker update
--- a/gameServer/OfficialServer/checker.hs	Tue Aug 21 18:31:00 2018 +0200
+++ b/gameServer/OfficialServer/checker.hs	Tue Aug 21 18:35:19 2018 +0200
@@ -55,7 +55,7 @@
     deriving Show
 
 serverAddress = "netserver.hedgewars.org"
-protocolNumber = "53"
+protocolNumber = "55"
 
 getLines :: Handle -> IO [B.ByteString]
 getLines h = g
--- a/gameServer/hedgewars-server.cabal	Tue Aug 21 18:31:00 2018 +0200
+++ b/gameServer/hedgewars-server.cabal	Tue Aug 21 18:35:19 2018 +0200
@@ -33,7 +33,7 @@
     utf8-string,
     SHA,
     entropy,
-    zlib >= 0.5.3 && < 0.6,
+    zlib >= 0.5.3 && < 0.7,
     regex-tdfa,
     binary >= 0.8.5.1,
     yaml >= 0.8.30,
@@ -44,3 +44,29 @@
     build-depends: unix
 
   ghc-options: -O2
+
+Executable checker
+  main-is: OfficialServer/checker.hs
+
+  default-language:    Haskell2010
+
+  Build-depends:
+    base >= 4.8,
+    containers,
+    vector,
+    bytestring,
+    network >= 2.3,
+    mtl >= 2,
+    sandi,
+    hslogger,
+    process,
+    ConfigFile,
+    directory
+
+  if !os(windows)
+    build-depends: unix
+
+  ghc-options: -O2
+
+
+