~alcinnz/CatTrap

ref: d379817e6fa92b7763f325e3a9497936d5bfd7ce CatTrap/cattrap.cabal -rw-r--r-- 1.7 KiB
d379817e — Adrian Cochrane Finish implementing preprocessing/CSS parsing & integrating everything with test script. 1 year, 8 months ago
                                                                                
09970dfc Adrian Cochrane
272852e8 Adrian Cochrane
ed7d0445 Adrian Cochrane
09970dfc Adrian Cochrane
d379817e Adrian Cochrane
09970dfc Adrian Cochrane
eae2c200 Adrian Cochrane
09970dfc Adrian Cochrane
d379817e Adrian Cochrane
09970dfc Adrian Cochrane
3dce4d79 Adrian Cochrane
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
-- Initial cattrap.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                cattrap
version:             0.1.0.0
synopsis:            Lays out boxes according to the CSS Box Model.
description:         Computes where to place e.g. images, paragraphs, containers, tables, etc onscreen given desired amounts of whitespace.
homepage:            https://argonaut-constellation.org/
license:             GPL-3
license-file:        LICENSE
author:              Adrian Cochrane
maintainer:          alcinnz@argonaut-constellation.org
copyright:           Adrian Cochrane 2023
category:            Graphics
build-type:          Simple
extra-source-files:  CHANGELOG.md
cabal-version:       >=1.10

library
  exposed-modules:     Graphics.Layout, Graphics.Layout.CSS, Graphics.Layout.Flow,
                        Graphics.Layout.Grid, Graphics.Layout.Box, Graphics.Layout.Arithmetic,
                        Graphics.Layout.CSS.Internal, Graphics.Layout.Grid.CSS
  -- other-modules:
  -- other-extensions:
  build-depends:       base >=4.12 && <4.16, css-syntax, scientific, text, stylist-traits, fontconfig-pure, harfbuzz-pure, bytestring
  -- hs-source-dirs:
  default-language:    Haskell2010
  ghc-options:         -Wincomplete-patterns

executable cattrap
  main-is:             Main.hs
  -- other-modules:
  -- other-extensions:
  build-depends:       base >=4.12 && <4.16, cattrap, xml, text, css-syntax, stylist-traits, GLUT, gl
  hs-source-dirs:      app
  default-language:    Haskell2010

test-suite test-cattrap
  hs-source-dirs:      test
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  main-is:             Test.hs
  build-depends:       base, cattrap, hspec, QuickCheck, css-syntax