~alcinnz/Mondrian

ref: 350eab7679c9d341cb1d26d260318ac0a59405d0 Mondrian/Mondrian.cabal -rw-r--r-- 2.3 KiB
350eab76 — Adrian Cochrane Add solid border rendering! 1 year, 5 months ago
                                                                                
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
cabal-version:       >=1.10
-- Initial package description 'Mondrian.cabal' generated by 'cabal init'.
--   For further documentation, see http://haskell.org/cabal/users-guide/

name:                Mondrian
version:             0.1.0.0
synopsis:            Renders backgrounds & borders
-- description:
homepage:            https://argonaut-constellation.org/
-- bug-reports:
license:             GPL-3
license-file:        LICENSE
author:              Adrian Cochrane
maintainer:          ~alcinnz/Mondrian@todo.argonaut-constellation.org
-- copyright:
category:            Graphics
build-type:          Simple
extra-source-files:  CHANGELOG.md

library
  exposed-modules:     Graphics.Rendering.Rect,
                       Graphics.Rendering.Rect.Backgrounds,
                       Graphics.Rendering.Rect.Border,
                       Graphics.Rendering.Rect.Image,
                       Graphics.Rendering.Rect.CSS,
                       Graphics.Rendering.Rect.CSS.Colour,
                       Graphics.Rendering.Rect.CSS.Backgrounds,
                       Graphics.Rendering.Rect.CSS.Border
  other-modules:       Graphics.Rendering.Rect.Types
  -- other-extensions:
  build-depends:       base >=4.13 && <4.14, stylist-traits >= 0.1.3.1 && < 1,
                       css-syntax, colour >= 2.3.6 && < 3, scientific, text,
                       bytestring, typograffiti, linear, gl, vector, mtl,
                       unordered-containers, JuicyPixels >=3.0 && <4
  hs-source-dirs:      lib
  default-language:    Haskell2010

  ghc-options: -Wall

executable Mondrian
  main-is:             Main.hs
  -- other-modules:
  -- other-extensions:
  build-depends:       base >=4.13 && <4.14, Mondrian, sdl2 >= 2.5.4, gl, linear,
                        stylist-traits, text, css-syntax, JuicyPixels
  hs-source-dirs:      app
  default-language:    Haskell2010

  ghc-options: -Wall

executable Convert
  main-is:              Convert.hs
  build-depends:        base >= 4.13 && <4.14, JuicyPixels
  hs-source-dirs:       app
  default-language:     Haskell2010

  ghc-options: -Wall

test-suite Mondrian-test
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             MyLibTest.hs
  build-depends:       base >=4.13 && <4.14

  ghc-options: -Wall