-- Initial sneathlane-haste.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: sneathlane-haste
version: 2
synopsis: A compositional web UI library, which draws to a Canvas element
description: A simple library for construction UIs in the browser. Uses Haste to compile to JS and a Canvas element to draw the UI to the page. A UI can be written using ordinary Monadic combinators.
homepage: http://sneathlane.com
license: BSD2
license-file: LICENSE
author: Jason Priestley
maintainer: jason@sneathlane.com
-- copyright:
category: GUI
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
Flag Haste-inst
Description: either if it is being compiled with haste-inst or with cabal
Default: False
library
exposed-modules: SneathLane, SneathLane.Graphics, SneathLane.Widget, SneathLane.BasicWidgets
if flag(haste-inst)
build-depends: base >=4.0 && <5, haste-lib >=0.5 && <0.6
ghc-options: --link-jslib
else
build-depends: base >=4.0 && <5, haste-compiler >=0.5 && <0.6
ghc-options:
other-extensions: KindSignatures, GADTs, OverloadedStrings
default-language: Haskell2010