# HG changeset patch # User unc0rr # Date 1534797494 -7200 # Node ID 8bd973ab9c9c74db2a5181908d75570da5d7afd5 # Parent 7a31a292fa840dad09aa1be7c0964724f05cc033 - Add checker dependencies to hedgewars-server.cabal - Update checker to work with .24 diff -r 7a31a292fa84 -r 8bd973ab9c9c gameServer/OfficialServer/checker.hs --- a/gameServer/OfficialServer/checker.hs Sun Aug 19 09:54:46 2018 -0400 +++ b/gameServer/OfficialServer/checker.hs Mon Aug 20 22:38:14 2018 +0200 @@ -55,7 +55,7 @@ deriving Show serverAddress = "netserver.hedgewars.org" -protocolNumber = "53" +protocolNumber = "55" getLines :: Handle -> IO [B.ByteString] getLines h = g diff -r 7a31a292fa84 -r 8bd973ab9c9c gameServer/hedgewars-server.cabal --- a/gameServer/hedgewars-server.cabal Sun Aug 19 09:54:46 2018 -0400 +++ b/gameServer/hedgewars-server.cabal Mon Aug 20 22:38:14 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 + + +