-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomputorv1.cabal
42 lines (36 loc) · 1.32 KB
/
computorv1.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
-- Initial computorv1.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: computorv1
version: 0.1.0.0
author: Léo Gillot-Lamure
maintainer: [email protected]
category: Math
build-type: Simple
cabal-version: >=1.10
flag webapp
description: Build computor-web executable
default: False
library
hs-source-dirs: src
exposed-modules: Computor, Computor.Error, Computor.Parsing, Computor.Math
build-depends: base >=4.8 && <4.9, mtl, parsec, parsec-numbers
default-language: Haskell2010
executable computor
main-is: computor-cli.hs
build-depends: computorv1, base, mtl
default-language: Haskell2010
test-suite computorv1-testsuite
hs-source-dirs: tests
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends: QuickCheck, test-framework, test-framework-quickcheck2, computorv1, base
default-language: Haskell2010
executable computor-web
hs-source-dirs: computor-web
main-is: computor-web.hs
default-language: Haskell2010
if flag(webapp)
build-depends: yesod, yesod-form, shakespeare, blaze-markup, text, computorv1, base
buildable: True
else
buildable: False