name: jsaddle-wkwebview
version: 0.8.3.2
cabal-version: >=1.10
build-type: Simple
license: MIT
license-file: LICENSE
maintainer: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com>
synopsis: Interface for JavaScript that works with GHCJS and GHC
description:
This package provides an EDSL for calling JavaScript that
can be used both from GHCJS and GHC. When using GHC
the application is run using Warp and WebSockets to
drive a small JavaScipt helper.
category: Web, Javascript
author: Hamish Mackenzie
source-repository head
type: git
location: https://github.com/ghcjs/jsaddle
library
exposed-modules:
Language.Javascript.JSaddle.WKWebView
Language.Javascript.JSaddle.WKWebView.Internal
build-depends:
aeson >=0.8.0.2 && <1.3,
base <5,
bytestring >=0.10.6.0 && <0.11,
jsaddle >= 0.8.0.0 && <0.9
default-language: Haskell2010
hs-source-dirs: src
frameworks: Foundation, WebKit
ghc-options: -ferror-spans -Wall
c-sources:
cbits/WKWebView.m
if impl(ghcjs)
hs-source-dirs: src-ghcjs
else
hs-source-dirs: src-ghc
if os(ios)
frameworks: UIKit
c-sources:
cbits-uikit/AppDelegate.m
cbits-uikit/ViewController.m
else
frameworks: Cocoa
c-sources:
cbits-cocoa/AppDelegate.m