-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathshine-examples.cabal
74 lines (68 loc) · 2.51 KB
/
shine-examples.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
cabal-version: 2.2
name: shine-examples
version: 0.1
build-type: Simple
license: MIT
maintainer: Francesco Gazzetta <[email protected]>
homepage: https://github.com/fgaz/shine/tree/master/shine-examples
bug-reports: https://github.com/fgaz/shine/issues
synopsis: Examples for the shine package
description:
This package contains some examples of use of the shine package,
from animations to a simple game.
category: Web, Graphics, Javascript, Game
extra-source-files: README.md
common common-deps
build-depends: base ^>= 4.11
|| ^>= 4.12
, shine ^>= 0.2
, ghcjs-dom ^>= 0.9
-- See the README for additional instructions on how to run animated-shapes
executable animated-shapes
import: common-deps
main-is: Main.hs
hs-source-dirs: animated-shapes
default-language: Haskell2010
ghc-options: -threaded -Wall -Wno-missing-home-modules
ghcjs-options: -dedupe
cpp-options: -DGHCJS_BROWSER
if !impl(ghcjs)
buildable: False
executable simple-interaction
import: common-deps
main-is: Main.hs
hs-source-dirs: simple-interaction
default-language: Haskell2010
ghc-options: -threaded -Wall -Wno-missing-home-modules
ghcjs-options: -dedupe
cpp-options: -DGHCJS_BROWSER
if !impl(ghcjs)
buildable: False
executable spaceinvaders
import: common-deps
main-is: Main.hs
other-modules: Game Point
hs-source-dirs: spaceinvaders
default-language: Haskell2010
ghc-options: -threaded -Wall -Wno-missing-home-modules
ghcjs-options: -dedupe
cpp-options: -DGHCJS_BROWSER
build-depends: containers ^>= 0.6
, keycode ^>= 0.2
, random ^>= 1.1
if !impl(ghcjs)
buildable: False
executable mountaincar
import: common-deps
main-is: Main.hs
other-modules: Game MountainCar Point
hs-source-dirs: mountaincar
default-language: Haskell2010
ghc-options: -threaded -Wall -Wno-missing-home-modules
ghcjs-options: -dedupe
cpp-options: -DGHCJS_BROWSER
build-depends: containers ^>= 0.6
, keycode ^>= 0.2
, random ^>= 1.1
if !impl(ghcjs)
buildable: False