roguestar.cabal 4.55 KB
Newer Older
1
name:          roguestar
Christopher Lane Hinson's avatar
Christopher Lane Hinson committed
2
version:       0.10.1.0
3 4 5 6 7 8 9 10 11 12
cabal-version: >=1.2
build-type:    Simple
license:       OtherLicense
license-file:  LICENSE
maintainer:    Christopher Lane Hinson <lane@downstairspeople.org>
homepage:      http://roguestar.downstairspeople.org/
synopsis:      Sci-fi roguelike game.
description:   A sci-fi roguelike game.
category:      Game
author:        Christopher Lane Hinson
Christopher Lane Hinson's avatar
Christopher Lane Hinson committed
13
tested-with:   GHC ==7.4.1
14 15

executable roguestar-server
16
  Main-is:        Roguestar/Server/Main.hs
17
  hs-source-dirs: .
18
  build-depends:  aeson >= 0.6.0.2,
19
                  snap >=0.8,
20
                  snap-core >=0.8,
21
                  snap-server >= 0.8,
22
                  text >=0.11,
23
                  MonadCatchIO-transformers >= 0.2,
24
                  data-lens-template,
25
                  containers >=0.3.0.0,
26 27 28
                  base >=4.4,
                  system-uuid >= 1.2.7,
                  binary >= 0.5.1
29 30 31
  ghc-prof-options: -prof -auto-all
  ghc-shared-options: -prof -auto-all
  if impl(ghc >= 7.0)
32
    ghc-options: -threaded -rtsopts=all -Wall -fno-warn-type-defaults
33 34
  else
    ghc-options: -threaded -fno-warn-type-defaults
35
  other-modules:  Roguestar.Lib.HTML.Mustache
36 37 38

library
  hs-source-dirs: .
39 40 41 42 43 44
  build-depends:  aeson >= 0.6.0.2,
                  attoparsec >= 0.10.2.0,
                  vector >= 0.9.1,
                  unordered-containers >= 0.2.2.0,
                  hastache >= 0.4.2,
                  hslogger >=1.1.0,
45 46 47 48 49 50 51 52 53 54 55
                  bytestring >=0.9.1.5,
                  parallel >=2.2.0.1,
                  stm >=2.1.1.2,
                  data-memocombinators >=0.4.0,
                  MonadRandom >=0.1.4,
                  MaybeT >=0.1.2,
                  mtl >=1.1.0.2,
                  random >=1.0.0.2,
                  old-time >=1.0.0.3,
                  array >=0.3.0.0,
                  containers >=0.3.0.0,
56
                  base >=4,
57 58
                  mwc-random >= 0.12.0.1,
                  streams >= 0.8.2
59
  other-modules:  Roguestar.Lib.Perception,
60 61
                  Roguestar.Lib.PlaneVisibility,
                  Roguestar.Lib.Turns,
62
                  Roguestar.Lib.Core.Building,
63
                  Roguestar.Lib.Core.Monster,
64
                  Roguestar.Lib.Core.Plane,
65
                  Roguestar.Lib.Utility.Contact,
66 67 68
                  Roguestar.Lib.Utility.Grids,
                  Roguestar.Lib.Utility.HierarchicalDatabase,
                  Roguestar.Lib.Utility.RayCasting,
69
                  Roguestar.Lib.Utility.SiteCriteria,
70 71
                  Roguestar.Lib.Tool,
                  Roguestar.Lib.Substances,
72
                  Roguestar.Lib.Behavior.Travel,
73 74 75
                  Roguestar.Lib.RNG,
                  Roguestar.Lib.Species,
                  Roguestar.Lib.Position,
76
                  Roguestar.Lib.Behavior.Combat,
77
                  Roguestar.Lib.Tests,
78
                  Roguestar.Lib.World.BeginGame,
79 80 81 82
                  Roguestar.Lib.TimeCoordinate,
                  Roguestar.Lib.DB,
                  Roguestar.Lib.Town,
                  Roguestar.Lib.Random,
83 84
                  Roguestar.Lib.Behavior,
                  Roguestar.Lib.Behavior.Activate,
85
                  Roguestar.Lib.Behavior.CharacterAdvancement,
86 87
                  Roguestar.Lib.Behavior.Construction,
                  Roguestar.Lib.Behavior.Make,
88 89
                  Roguestar.Lib.Planet,
                  Roguestar.Lib.Logging,
90
                  Roguestar.Lib.Data.BuildingData,
91
                  Roguestar.Lib.Data.CharacterData,
92 93 94
                  Roguestar.Lib.Data.FacingData,
                  Roguestar.Lib.Data.FactionData,
                  Roguestar.Lib.Data.LocationData,
95
                  Roguestar.Lib.Data.MakeData,
96
                  Roguestar.Lib.Data.MonsterData,
97 98 99
                  Roguestar.Lib.Data.PersistantData,
                  Roguestar.Lib.Data.PlaneData,
                  Roguestar.Lib.Data.PlanetData,
100
                  Roguestar.Lib.Data.PlayerState,
101
                  Roguestar.Lib.Data.PowerUpData,
102
                  Roguestar.Lib.Data.ReferenceTypes,
103 104 105 106 107
                  Roguestar.Lib.Data.SpeciesData,
                  Roguestar.Lib.Data.TerrainData,
                  Roguestar.Lib.Data.ToolData,
                  Roguestar.Lib.Data.TravelData,
                  Roguestar.Lib.Data.VisibilityData,
108
                  Roguestar.Lib.HTML.Mustache
109 110 111
  ghc-prof-options: -prof -auto-all
  ghc-shared-options: -prof -auto-all
  if impl(ghc >= 7.0)
112
    ghc-options: -threaded -rtsopts=all -Wall -fno-warn-type-defaults
113 114
  else
    ghc-options: -threaded -fno-warn-type-defaults
115 116
  exposed-modules: Roguestar.Lib.UnitTests,
                   Roguestar.Lib.Roguestar
117