-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathghcjs-ffiqq.cabal
39 lines (36 loc) · 1.08 KB
/
ghcjs-ffiqq.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
name: ghcjs-ffiqq
version: 0.1.0.0
synopsis: FFI QuasiQuoter for GHCJS
license: MIT
license-file: LICENSE
author: Luite Stegeman
maintainer: [email protected]
copyright: Luite Stegeman
category: Web
build-type: Simple
cabal-version: >=1.10
flag build-example
description: build the example program
default: False
manual: True
library
exposed-modules: GHCJS.Foreign.QQ
build-depends: base >= 4.8 && < 5,
template-haskell >= 2.10,
ghcjs-base >= 0.2,
split,
containers,
text,
ghc-prim
hs-source-dirs: src
default-language: Haskell2010
ghcjs-options: -O2
Executable example
if !flag(build-example)
buildable: False
Main-Is: Example.hs
Default-Language: Haskell2010
hs-source-dirs: .
Build-Depends: base >= 4 && < 5,
ghcjs-ffiqq
GHC-Options: -O -Wall