modernize

This commit is contained in:
nek0 2020-05-04 01:27:44 +02:00
parent 18775515d8
commit e4103e11da
1 changed files with 8 additions and 5 deletions

View File

@ -25,7 +25,7 @@ extra-source-files: ChangeLog.md
-- README.
-- extra-source-files:
cabal-version: >=1.10
cabal-version: >=2.0
source-repository head
type: git
@ -67,6 +67,7 @@ library
exposed-modules: Affection
, Affection.Logging
, Affection.Types
, Affection.Class
, Affection.StateMachine
, Affection.Util
, Affection.MessageBus
@ -84,6 +85,8 @@ library
, Affection.Subsystems.AffectionMouse
, Affection.Subsystems.AffectionJoystick
default-extensions: OverloadedStrings
, TypeFamilies
, AllowAmbiguousTypes
-- Modules included in this library but not exported.
-- other-modules:
@ -99,7 +102,7 @@ library
ghc-options: -Wall
-- Other library packages from which modules are imported.
build-depends: base >=4.9 && < 5
, sdl2 >= 2.5 && < 2.6
, sdl2 ^>= 2.5
, linear
, text
, mtl
@ -125,7 +128,7 @@ executable example00
if flag(examples)
build-depends: base >=4.9 && < 5
, affection
, sdl2
, sdl2 ^>= 2.5
, stm
else
buildable: False
@ -141,7 +144,7 @@ executable example01
if flag(examples)
build-depends: base >=4.9 && < 5
, affection
, sdl2
, sdl2 ^>= 2.5
, stm
, OpenGL
, random
@ -164,7 +167,7 @@ executable example02
if flag(examples)
build-depends: base >=4.9 && < 5
, affection
, sdl2
, sdl2 ^>= 2.5
, stm
, OpenGL
, random