2023-12-04 17:20:06 +01:00
|
|
|
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
|
2023-12-05 05:41:16 +01:00
|
|
|
ghc-options: -Wall -threaded
|
2023-12-04 17:20:06 +01:00
|
|
|
|
2023-12-05 05:41:16 +01:00
|
|
|
library
|
|
|
|
import: warnings
|
|
|
|
exposed-modules: Library.Types
|
2023-12-10 15:18:40 +01:00
|
|
|
Library.Types.Communication
|
2023-12-11 17:21:24 +01:00
|
|
|
Library.Types.Map
|
2023-12-11 11:54:17 +01:00
|
|
|
Library.Types.Player
|
2023-12-05 05:41:16 +01:00
|
|
|
build-depends: base ^>=4.17.2.1
|
2023-12-10 15:18:40 +01:00
|
|
|
, aeson
|
2023-12-05 05:41:16 +01:00
|
|
|
, linear
|
|
|
|
, matrix
|
2023-12-07 17:31:28 +01:00
|
|
|
, random
|
2023-12-10 17:00:50 +01:00
|
|
|
, uuid
|
2023-12-05 05:41:16 +01:00
|
|
|
, vty
|
|
|
|
hs-source-dirs: src-lib
|
|
|
|
default-language: GHC2021
|
|
|
|
|
|
|
|
executable wizard-wipeout-client
|
2023-12-04 17:20:06 +01:00
|
|
|
import: warnings
|
|
|
|
main-is: Main.hs
|
2023-12-10 12:44:23 +01:00
|
|
|
other-modules: Client.Communication
|
2023-12-20 08:12:22 +01:00
|
|
|
Client.Game
|
2023-12-22 16:18:08 +01:00
|
|
|
Client.Graphics
|
2023-12-10 12:44:23 +01:00
|
|
|
Client.Types
|
2023-12-04 17:20:06 +01:00
|
|
|
-- other-extensions:
|
|
|
|
build-depends: base ^>=4.17.2.1
|
2023-12-10 17:00:50 +01:00
|
|
|
, aeson
|
|
|
|
, bytestring
|
2023-12-23 03:19:32 +01:00
|
|
|
, linear
|
2023-12-20 08:12:22 +01:00
|
|
|
, matrix
|
2023-12-08 05:19:32 +01:00
|
|
|
, monad-loops
|
|
|
|
, mtl
|
2023-12-07 18:20:28 +01:00
|
|
|
, network
|
2023-12-10 12:44:23 +01:00
|
|
|
, optparse-applicative
|
2023-12-11 17:21:24 +01:00
|
|
|
, stm
|
2023-12-12 09:47:50 +01:00
|
|
|
, unix
|
2023-12-10 15:18:40 +01:00
|
|
|
, uuid
|
2023-12-11 07:07:09 +01:00
|
|
|
, vector
|
2023-12-08 05:19:32 +01:00
|
|
|
, vty
|
2023-12-05 05:41:16 +01:00
|
|
|
, wizard-wipeout
|
|
|
|
hs-source-dirs: src-client
|
|
|
|
default-language: GHC2021
|
|
|
|
|
|
|
|
executable wizard-wipeout-server
|
|
|
|
import: warnings
|
|
|
|
main-is: Main.hs
|
2023-12-09 13:58:59 +01:00
|
|
|
other-modules: Server.Communication
|
|
|
|
Server.Game
|
2023-12-09 02:49:19 +01:00
|
|
|
Server.Map
|
2023-12-08 02:26:29 +01:00
|
|
|
Server.Types
|
2023-12-09 13:58:59 +01:00
|
|
|
Server.Util
|
2023-12-05 05:41:16 +01:00
|
|
|
-- other-extensions:
|
|
|
|
build-depends: base ^>=4.17.2.1
|
2023-12-08 05:19:32 +01:00
|
|
|
, aeson
|
|
|
|
, bytestring
|
2023-12-09 13:24:33 +01:00
|
|
|
, directory
|
2023-12-07 17:31:28 +01:00
|
|
|
, linear
|
2023-12-06 06:14:12 +01:00
|
|
|
, matrix
|
2023-12-08 05:19:32 +01:00
|
|
|
, monad-loops
|
|
|
|
, mtl
|
2023-12-07 18:20:28 +01:00
|
|
|
, network
|
2023-12-08 05:19:32 +01:00
|
|
|
, optparse-applicative
|
|
|
|
, text
|
|
|
|
, time
|
2023-12-06 06:14:12 +01:00
|
|
|
, random
|
2023-12-10 06:57:48 +01:00
|
|
|
, stm
|
2023-12-09 13:24:33 +01:00
|
|
|
, unix
|
2023-12-10 17:00:50 +01:00
|
|
|
, uuid
|
2023-12-11 07:07:09 +01:00
|
|
|
, vector
|
2023-12-07 17:31:28 +01:00
|
|
|
, wizard-wipeout
|
2023-12-08 05:19:32 +01:00
|
|
|
, yaml
|
2023-12-05 05:41:16 +01:00
|
|
|
hs-source-dirs: src-server
|
2023-12-04 17:20:06 +01:00
|
|
|
default-language: GHC2021
|