temporary disabling examples
This commit is contained in:
parent
63a493ed19
commit
17822564c7
2 changed files with 90 additions and 90 deletions
178
affection.cabal
178
affection.cabal
|
@ -89,95 +89,95 @@ library
|
||||||
-- , mtl
|
-- , mtl
|
||||||
-- else
|
-- else
|
||||||
-- buildable: False
|
-- buildable: False
|
||||||
|
--
|
||||||
executable example01
|
-- executable example01
|
||||||
hs-source-dirs: examples
|
-- hs-source-dirs: examples
|
||||||
main-is: example01.hs
|
-- main-is: example01.hs
|
||||||
ghc-options: -threaded -Wall
|
-- ghc-options: -threaded -Wall
|
||||||
default-language: Haskell2010
|
-- default-language: Haskell2010
|
||||||
default-extensions: OverloadedStrings
|
-- default-extensions: OverloadedStrings
|
||||||
if flag(examples)
|
-- if flag(examples)
|
||||||
build-depends: base
|
-- build-depends: base
|
||||||
, affection
|
-- , affection
|
||||||
, sdl2
|
-- , sdl2
|
||||||
, gegl
|
-- , gegl
|
||||||
, babl
|
-- , babl
|
||||||
, containers
|
-- , containers
|
||||||
, mtl
|
-- , mtl
|
||||||
else
|
-- else
|
||||||
buildable: False
|
-- buildable: False
|
||||||
|
--
|
||||||
executable example02
|
-- executable example02
|
||||||
hs-source-dirs: examples
|
-- hs-source-dirs: examples
|
||||||
main-is: example02.hs
|
-- main-is: example02.hs
|
||||||
ghc-options: -threaded -Wall
|
-- ghc-options: -threaded -Wall
|
||||||
default-language: Haskell2010
|
-- default-language: Haskell2010
|
||||||
default-extensions: OverloadedStrings
|
-- default-extensions: OverloadedStrings
|
||||||
if flag(examples)
|
-- if flag(examples)
|
||||||
build-depends: base
|
-- build-depends: base
|
||||||
, affection
|
-- , affection
|
||||||
, sdl2
|
-- , sdl2
|
||||||
, gegl
|
-- , gegl
|
||||||
, babl
|
-- , babl
|
||||||
, containers
|
-- , containers
|
||||||
, mtl
|
-- , mtl
|
||||||
, monad-parallel
|
-- , monad-parallel
|
||||||
else
|
-- else
|
||||||
buildable: False
|
-- buildable: False
|
||||||
|
--
|
||||||
executable example02.1
|
-- executable example02.1
|
||||||
hs-source-dirs: examples
|
-- hs-source-dirs: examples
|
||||||
main-is: example02.1.hs
|
-- main-is: example02.1.hs
|
||||||
ghc-options: -threaded -Wall
|
-- ghc-options: -threaded -Wall
|
||||||
default-language: Haskell2010
|
-- default-language: Haskell2010
|
||||||
default-extensions: OverloadedStrings
|
-- default-extensions: OverloadedStrings
|
||||||
if flag(examples)
|
-- if flag(examples)
|
||||||
build-depends: base
|
-- build-depends: base
|
||||||
, affection
|
-- , affection
|
||||||
, sdl2
|
-- , sdl2
|
||||||
, gegl
|
-- , gegl
|
||||||
, babl
|
-- , babl
|
||||||
, containers
|
-- , containers
|
||||||
, mtl
|
-- , mtl
|
||||||
else
|
-- else
|
||||||
buildable: False
|
-- buildable: False
|
||||||
|
--
|
||||||
executable example03
|
-- executable example03
|
||||||
hs-source-dirs: examples
|
-- hs-source-dirs: examples
|
||||||
main-is: example03.hs
|
-- main-is: example03.hs
|
||||||
ghc-options: -threaded -Wall -auto-all -caf-all -rtsopts
|
-- ghc-options: -threaded -Wall -auto-all -caf-all -rtsopts
|
||||||
default-language: Haskell2010
|
-- default-language: Haskell2010
|
||||||
default-extensions: OverloadedStrings
|
-- default-extensions: OverloadedStrings
|
||||||
if flag(examples)
|
-- if flag(examples)
|
||||||
build-depends: base
|
-- build-depends: base
|
||||||
, affection
|
-- , affection
|
||||||
, sdl2
|
-- , sdl2
|
||||||
, gegl
|
-- , gegl
|
||||||
, babl
|
-- , babl
|
||||||
, containers
|
-- , containers
|
||||||
, mtl
|
-- , mtl
|
||||||
, random
|
-- , random
|
||||||
else
|
-- else
|
||||||
buildable: False
|
-- buildable: False
|
||||||
|
--
|
||||||
executable example04
|
-- executable example04
|
||||||
hs-source-dirs: examples
|
-- hs-source-dirs: examples
|
||||||
main-is: example04.hs
|
-- main-is: example04.hs
|
||||||
ghc-options: -threaded -Wall -auto-all -caf-all -rtsopts
|
-- ghc-options: -threaded -Wall -auto-all -caf-all -rtsopts
|
||||||
default-language: Haskell2010
|
-- default-language: Haskell2010
|
||||||
default-extensions: OverloadedStrings
|
-- default-extensions: OverloadedStrings
|
||||||
if flag(examples)
|
-- if flag(examples)
|
||||||
build-depends: base
|
-- build-depends: base
|
||||||
, affection
|
-- , affection
|
||||||
, sdl2
|
-- , sdl2
|
||||||
, gegl
|
-- , gegl
|
||||||
, babl
|
-- , babl
|
||||||
, containers
|
-- , containers
|
||||||
, mtl
|
-- , mtl
|
||||||
, random
|
-- , random
|
||||||
, monad-parallel
|
-- , monad-parallel
|
||||||
else
|
-- else
|
||||||
buildable: False
|
-- buildable: False
|
||||||
|
|
||||||
executable example05
|
executable example05
|
||||||
hs-source-dirs: examples
|
hs-source-dirs: examples
|
||||||
|
|
|
@ -119,7 +119,7 @@ load = do
|
||||||
map (\p -> ActorProperty
|
map (\p -> ActorProperty
|
||||||
{ apName = G.propertyName p
|
{ apName = G.propertyName p
|
||||||
, apValue = G.propertyValue p
|
, apValue = G.propertyValue p
|
||||||
, apMapping = Just "rect"
|
, apMapping = Just ("rect", "color")
|
||||||
}) tempProps
|
}) tempProps
|
||||||
traceIO $ show index
|
traceIO $ show index
|
||||||
return $ HM.insert index Actor
|
return $ HM.insert index Actor
|
||||||
|
|
Loading…
Reference in a new issue