gameServer/hedgewars-server.cabal
branchtransitional_engine
changeset 16051 2003b466b279
parent 16014 e42d1819b150
equal deleted inserted replaced
16050:6a3dc15b78b9 16051:2003b466b279
     1 Name:                hedgewars-server
     1 Name:                hedgewars-server
     2 Version:             0.1
     2 Version:             1.1.0
     3 Synopsis:            hedgewars server
     3 Synopsis:            hedgewars server
     4 Description:         hedgewars server
     4 Description:         hedgewars server
     5 Homepage:            https://www.hedgewars.org/
     5 Homepage:            https://www.hedgewars.org/
     6 License:             GPL-2
     6 License:             GPL-2
     7 Author:              unC0Rr
     7 Author:              unC0Rr
     9 Category:            Game
     9 Category:            Game
    10 Build-type:          Simple
    10 Build-type:          Simple
    11 Cabal-version:       >=1.10
    11 Cabal-version:       >=1.10
    12 
    12 
    13 
    13 
       
    14 flag officialServer
       
    15   description: Build for official server
       
    16   default:     False
       
    17   manual:      True
       
    18 
    14 Executable hedgewars-server
    19 Executable hedgewars-server
    15   main-is: hedgewars-server.hs
    20   main-is: hedgewars-server.hs
       
    21   other-modules:
       
    22     Actions
       
    23     ClientIO
       
    24     CommandHelp
       
    25     ConfigFile
       
    26     Consts
       
    27     CoreTypes
       
    28     Data.TConfig
       
    29     EngineInteraction
       
    30     FloodDetection
       
    31     HWProtoChecker
       
    32     HWProtoCore
       
    33     HWProtoInRoomState
       
    34     HWProtoLobbyState
       
    35     HWProtoNEState
       
    36     HandlerUtils
       
    37     JoinsMonitor
       
    38     NetRoutines
       
    39     OfficialServer.DBInteraction
       
    40     Opts
       
    41     RoomsAndClients
       
    42     ServerCore
       
    43     ServerState
       
    44     Store
       
    45     Utils
       
    46     Votes
    16 
    47 
    17   default-language:    Haskell2010
    48   default-language:    Haskell2010
    18 
    49 
    19 -- Don't forget to update INSTALL.md and .travis.yml when you change these dependencies!
    50 -- Don't forget to update INSTALL.md and .travis.yml when you change these dependencies!
    20   Build-depends:
    51   Build-depends:
    21     base >= 4.8,
    52     base >= 4.8,
       
    53     binary >= 0.8.5.1,
       
    54     bytestring,
    22     containers,
    55     containers,
    23     vector,
    56     deepseq,
    24     bytestring,
    57     entropy,
    25     network >= 2.3 && < 3.2,
    58     hslogger,
       
    59     mtl >= 2,
       
    60     network >= 3.0 && < 3.2,
    26     network-bsd >= 2.8.1 && < 2.9,
    61     network-bsd >= 2.8.1 && < 2.9,
       
    62     process,
    27     random,
    63     random,
       
    64     regex-tdfa,
       
    65     sandi,
       
    66     SHA,
    28     time,
    67     time,
    29     mtl >= 2,
       
    30     sandi,
       
    31     hslogger,
       
    32     process,
       
    33     deepseq,
       
    34     utf8-string,
    68     utf8-string,
    35     SHA,
    69     vector
    36     entropy,
       
    37     zlib >= 0.5.3 && < 0.7,
       
    38     regex-tdfa,
       
    39     binary >= 0.8.5.1,
       
    40 
    70 
    41 -- These dependencies are for OFFICIAL_SERVER only and do not need to be mentioned in docs
    71 -- These dependencies are for OFFICIAL_SERVER only and do not need to be mentioned in docs
    42     yaml >= 0.8.30,
    72   if flag(officialServer)
    43     aeson,
    73     build-depends:
    44     text >= 1.2
    74       aeson,
       
    75       text >= 1.2,
       
    76       yaml >= 0.8.30,
       
    77       zlib >= 0.5.3 && < 0.7
       
    78     cpp-options:   -DOFFICIAL_SERVER
    45 
    79 
    46   if !os(windows)
    80   if !os(windows)
    47     build-depends: unix
    81     build-depends: unix
    48 
    82 
    49   ghc-options: -O2
    83   ghc-options: -O2