aboutsummaryrefslogtreecommitdiff
path: root/game.cabal
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-05-17 12:39:14 +0100
committerJuan J. Martinez <jjm@usebox.net>2024-05-17 12:39:14 +0100
commit74298ef8ff9c3730d56b123e59b14ee0b8778772 (patch)
tree3789a8d6df93013bdbee3604b320e074169b2ca8 /game.cabal
parente44005c482d86aa30739ac97ad11e2c7c0fd0238 (diff)
downloadspace-plat-hs-74298ef8ff9c3730d56b123e59b14ee0b8778772.tar.gz
space-plat-hs-74298ef8ff9c3730d56b123e59b14ee0b8778772.zip
formattingHEADmain
Diffstat (limited to 'game.cabal')
-rw-r--r--game.cabal53
1 files changed, 25 insertions, 28 deletions
diff --git a/game.cabal b/game.cabal
index ac455c1..937e780 100644
--- a/game.cabal
+++ b/game.cabal
@@ -1,17 +1,16 @@
cabal-version: 2.4
name: game
version: 0.1.0.0
-
-synopsis: A gamedev experiment (2D platform game).
-homepage: https://git.usebox.net/space-plat-hs/about/
-
license: MIT
license-file: LICENSE
-author: Juan J. Martinez
maintainer: jjm@usebox.net
-
-extra-source-files: CHANGELOG.md, README.md, LICENSE
-
+author: Juan J. Martinez
+homepage: https://git.usebox.net/space-plat-hs/about/
+synopsis: A gamedev experiment (2D platform game).
+extra-source-files:
+ CHANGELOG.md
+ README.md
+ LICENSE
library
exposed-modules:
@@ -39,31 +38,29 @@ library
Game.Controller
Game.Utils
Game.Toaster
- build-depends:
- base
- , text >= 1.1.0.0 && < 2.1
- , vector >= 0.10.9.0 && <= 0.14
- , containers
- , sdl2
- , sdl2-image
- , json
- , random
- ghc-options: -Wall -Werror -O2 -j
+ hs-source-dirs: src
+ default-language: GHC2021
default-extensions:
- OverloadedStrings
- OverloadedRecordDot
- DuplicateRecordFields
+ OverloadedStrings OverloadedRecordDot DuplicateRecordFields
NoFieldSelectors
- hs-source-dirs: src
- default-language: Haskell2010
-executable game
- main-is: Main.hs
+ ghc-options: -Wall -Werror -O2 -j
build-depends:
- base
- , game
- ghc-options: -Wall -Werror -with-rtsopts=--nonmoving-gc -O2
+ base,
+ text >=1.1.0.0 && <2.1,
+ vector >=0.10.9.0 && <=0.14,
+ containers,
+ sdl2,
+ sdl2-image,
+ json,
+ random
+executable game
+ main-is: Main.hs
hs-source-dirs: app
default-language: GHC2021
+ ghc-options: -Wall -Werror -with-rtsopts=--nonmoving-gc -O2
+ build-depends:
+ base,
+ game