- Add checker dependencies to hedgewars-server.cabal
- Update checker to work with .24
--- 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
--- 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
+
+
+