wizard-wipeout/wizard-wipeout.cabal
2024-12-12 09:09:17 +01:00

103 lines
3.1 KiB
Text

cabal-version: 3.0
name: wizard-wipeout
version: 0.0.0.0
synopsis: A game about combating wizards
-- description:
license: GPL-3.0-or-later
license-file: LICENSE
author: nek0
maintainer: nek0@nek0.eu
-- copyright:
category: Game
build-type: Simple
extra-doc-files: CHANGELOG.md
-- extra-source-files:
common warnings
ghc-options: -Wall -threaded -rtsopts
-fwrite-ide-info
-hiedir=.hie
library
import: warnings
exposed-modules: Library.Map
Library.Types
Library.Types.Communication
Library.Types.Map
Library.Types.Player
build-depends: base >=4.17.2.1
, aeson
, linear
, matrix
, random
, uuid
, vty
hs-source-dirs: src-lib
default-language: GHC2021
executable wizard-wipeout-client
import: warnings
main-is: Main.hs
other-modules: Client.Communication
Client.Events
Client.Game
Client.Graphics
Client.Log
Client.Types
-- other-extensions:
build-depends: base >=4.17.2.1
, aeson
, bytestring
, linear
, matrix
, monad-loops
, mtl
, network
, optparse-applicative
, stm
, unix
, uuid
, vector
, vty
, vty-crossplatform
, wizard-wipeout
hs-source-dirs: src-client
default-language: GHC2021
executable wizard-wipeout-server
import: warnings
main-is: Main.hs
other-modules: Server.Communication
Server.Communication.Handler
Server.Communication.Receive
Server.Communication.Send
Server.Game
Server.Game.Update
Server.Log
Server.Map
Server.Types
Server.Util
default-extensions:
StrictData
-- other-extensions:
build-depends: base >=4.17.2.1
, aeson
, bytestring
, directory
, linear
, matrix
, monad-loops
, mtl
, network
, optparse-applicative
, text
, time
, random
, stm
, unix
, uuid
, vector
, wizard-wipeout
, yaml
hs-source-dirs: src-server
default-language: GHC2021