gameServer/hedgewars-server.cabal
author Wuzzy <Wuzzy2@mail.ru>
Thu, 25 Apr 2019 23:01:05 +0200
changeset 14839 e239378a9400
parent 14320 f081a984da28
child 14970 6b5efc690472
permissions -rw-r--r--
Prevent entering “/”, “\” and “:” in team and scheme names. The name of teams and schems is saved in the file name itself, so these characters would cause trouble as they are used in path names in Linux and Windows.

Name:                hedgewars-server
Version:             0.1
Synopsis:            hedgewars server
Description:         hedgewars server
Homepage:            https://www.hedgewars.org/
License:             GPL-2
Author:              unC0Rr
Maintainer:          a.korotaev@hedgewars.org
Category:            Game
Build-type:          Simple
Cabal-version:       >=1.10


Executable hedgewars-server
  main-is: hedgewars-server.hs

  default-language:    Haskell2010

-- Don't forget to update INSTALL.md and .travis.yml when you change these dependencies!
  Build-depends:
    base >= 4.8,
    containers,
    vector,
    bytestring,
    network >= 2.3,
    random,
    time,
    mtl >= 2,
    sandi,
    hslogger,
    process,
    deepseq,
    utf8-string,
    SHA,
    entropy,
    zlib >= 0.5.3 && < 0.7,
    regex-tdfa,
    binary >= 0.8.5.1,

-- These dependencies are for OFFICIAL_SERVER only and do not need to be mentioned in docs
    yaml >= 0.8.30,
    aeson,
    text >= 1.2

  if !os(windows)
    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