This repository has been archived on 2023-06-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2022FuncProg-project3-RPGEn.../rpg-engine.cabal
Tibo De Peuter 83659e69b4 #18 #14 Inital parser commit
Added basic parser functionality & tests for these functionalites.
Split tests in several files
2022-12-17 23:14:04 +01:00

37 lines
907 B
Text

name: rpg-engine
version: 1.0.0
author: Tibo De Peuter
cabal-version: 1.12
build-type: Simple
library
hs-source-dirs: lib, lib/control, lib/data, lib/render
build-depends:
base >= 4.7 && <5,
gloss >= 1.11 && < 1.14, gloss-juicy >= 0.2.3,
parsec >= 3.1.15.1
exposed-modules:
RPGEngine,
-- Control
Input, InputHandling, Parse,
-- Data
Game, Internals, Player, State,
-- Render
Render
executable rpg-engine
main-is: Main.hs
hs-source-dirs: src
default-language: Haskell2010
build-depends: base >= 4.7 && <5, rpg-engine
test-suite rpg-engine-test
type: exitcode-stdio-1.0
main-is: RPGEngineSpec.hs
hs-source-dirs: test
default-language: Haskell2010
build-depends: base >=4.7 && <5, hspec <= 2.10.6, hspec-discover, rpg-engine
other-modules:
InteractionSpec,
-- Parsing
ParsedToGameSpec, ParserSpec