roguestar.cabal 4.49 KB
Newer Older
1
name:          roguestar
2
version:       0.10.0.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 60 61 62 63 64 65 66 67 68
  other-modules:  Roguestar.Lib.TravelData,
                  Roguestar.Lib.VisibilityData,
                  Roguestar.Lib.FactionData,
                  Roguestar.Lib.Behavior,
                  Roguestar.Lib.Alignment,
                  Roguestar.Lib.PlaneData,
                  Roguestar.Lib.Grids,
                  Roguestar.Lib.Perception,
                  Roguestar.Lib.PlaneVisibility,
                  Roguestar.Lib.Turns,
69 70
                  Roguestar.Lib.Core.Plane,
                  Roguestar.Lib.Utility.SiteCriteria,
71 72 73 74 75
                  Roguestar.Lib.CreatureData,
                  Roguestar.Lib.Character,
                  Roguestar.Lib.Tool,
                  Roguestar.Lib.Substances,
                  Roguestar.Lib.HierarchicalDatabase,
76
                  Roguestar.Lib.Behavior.Travel,
77 78 79 80 81 82 83 84
                  Roguestar.Lib.ToolData,
                  Roguestar.Lib.Creature,
                  Roguestar.Lib.Facing,
                  Roguestar.Lib.DBPrivate,
                  Roguestar.Lib.RNG,
                  Roguestar.Lib.Species,
                  Roguestar.Lib.Position,
                  Roguestar.Lib.TerrainData,
85
                  Roguestar.Lib.Behavior.Combat,
86 87 88 89 90 91 92 93 94 95 96 97
                  Roguestar.Lib.Tests,
                  Roguestar.Lib.DBData,
                  Roguestar.Lib.GridRayCaster,
                  Roguestar.Lib.BeginGame,
                  Roguestar.Lib.SpeciesData,
                  Roguestar.Lib.TimeCoordinate,
                  Roguestar.Lib.DB,
                  Roguestar.Lib.Building,
                  Roguestar.Lib.BuildingData,
                  Roguestar.Lib.Town,
                  Roguestar.Lib.Random,
                  Roguestar.Lib.MakeData,
98 99
                  Roguestar.Lib.Behavior.Construction,
                  Roguestar.Lib.Behavior.Make,
100 101
                  Roguestar.Lib.Activate,
                  Roguestar.Lib.Contact,
102
                  Roguestar.Lib.Behavior.DeviceActivation,
103 104 105 106 107
                  Roguestar.Lib.Planet,
                  Roguestar.Lib.PlanetData,
                  Roguestar.Lib.Logging,
                  Roguestar.Lib.CharacterAdvancement,
                  Roguestar.Lib.PersistantData,
108
                  Roguestar.Lib.PowerUpData,
109
                  Roguestar.Lib.Data.PlayerState,
110
                  Roguestar.Lib.HTML.Mustache
111 112 113
  ghc-prof-options: -prof -auto-all
  ghc-shared-options: -prof -auto-all
  if impl(ghc >= 7.0)
114
    ghc-options: -threaded -rtsopts=all -Wall -fno-warn-type-defaults
115 116
  else
    ghc-options: -threaded -fno-warn-type-defaults
117 118
  exposed-modules: Roguestar.Lib.UnitTests,
                   Roguestar.Lib.Roguestar
119