From e4103e11da33d2b093a623b9163384833b6b6cc1 Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 4 May 2020 01:27:44 +0200 Subject: [PATCH] modernize --- affection.cabal | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/affection.cabal b/affection.cabal index d24e422..ff8e8d6 100644 --- a/affection.cabal +++ b/affection.cabal @@ -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