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