summaryrefslogtreecommitdiff
path: root/language-elm.cabal
blob: 0ce50cabb3f38c78833c8282684b1fb9749dcbda (plain)
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
name:               language-elm
version:            0.1.0.3
synopsis:           Generate elm code
description:        Generate elm code from an ast
homepage:           https://github.com/eliaslfox/language-elm#readme
license:            BSD3
license-file:       LICENSE
author:             Elias Lawson-Fox
maintainer:         eliaslfox@gmail.com
copyright:          2017 Elias Lawson-Fox
category:           Web
build-type:         Simple
extra-source-files: README.md
cabal-version:      >=1.10

library
  hs-source-dirs:   src
  exposed-modules:  Elm, Elm.Decleration, Elm.Expression, Elm.Import, Elm.Program, Elm.Type, Elm.Classes, Elm.GenError
  build-depends:    base >= 4.9.1 && < 4.10, 
                       pretty >= 1.1.3 && < 1.2,
                       MissingH >= 1.4.0 && < 1.5,
                       mtl >= 2.2.1 && < 2.3,
                       protolude >= 0.1.1 && < 0.2
  default-language: Haskell2010

test-suite language-elm-test
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Spec.hs
  other-modules:    Renderer
  build-depends:    base
                     , language-elm
                     , pretty >= 1.1.3 && < 1.2
                     , hspec >= 2.4.3 && < 2.5
                     , mtl >= 2.2.1 && < 2.3
                     , protolude >= 0.1.1 && < 0.2
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010

source-repository head
  type:             git
  location:         https://github.com/eliaslfox/language-elm