mirror of
https://github.com/ilyakooo0/reflex-dom.git
synced 2024-10-26 07:47:59 +03:00
Make cabal files uploadable to Hackage
This commit is contained in:
parent
873c833c3f
commit
a5cab6a17d
@ -1,3 +1,4 @@
|
||||
cabal-version: 1.24
|
||||
Name: reflex-dom-core
|
||||
Version: 0.6.0.0
|
||||
Synopsis: Functional Reactive Web Apps with Reflex
|
||||
@ -15,7 +16,6 @@ Maintainer: ryan.trinkle@gmail.com
|
||||
Stability: Experimental
|
||||
Category: FRP, Web, GUI, HTML, Javascript, Reactive, Reactivity, User Interfaces, User-interface
|
||||
Build-type: Simple
|
||||
Cabal-version: >=1.9.2
|
||||
-- Deal with https://github.com/haskell/cabal/issues/2544 / https://github.com/haskell/cabal/issues/367
|
||||
extra-source-files: src-ghc/Foreign/JavaScript/Internal/Utils.hs
|
||||
src-ghcjs/Foreign/JavaScript/Internal/Utils.hs
|
||||
@ -139,6 +139,7 @@ library
|
||||
Reflex.Dom.Xhr.ResponseType
|
||||
Reflex.Dom.Xhr.Exception
|
||||
|
||||
default-language: Haskell98
|
||||
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2 -ferror-spans -fspecialise-aggressively
|
||||
ghc-prof-options: -fprof-auto
|
||||
|
||||
@ -165,6 +166,7 @@ test-suite hlint
|
||||
hs-source-dirs: test
|
||||
main-is: hlint.hs
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell98
|
||||
|
||||
test-suite hydration
|
||||
build-depends: base
|
||||
@ -211,6 +213,7 @@ test-suite hydration
|
||||
ghc-prof-options: -fprof-auto -optP-DPROFILING
|
||||
main-is: hydration.hs
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell98
|
||||
if !os(linux) || !arch(x86_64) || flag(profile-reflex)
|
||||
buildable: False
|
||||
|
||||
@ -230,6 +233,7 @@ test-suite gc
|
||||
ghc-prof-options: -fprof-auto -optP-DPROFILING
|
||||
main-is: gc.hs
|
||||
type: exitcode-stdio-1.0
|
||||
default-language: Haskell98
|
||||
if !os(linux) || !arch(x86_64)
|
||||
buildable: False
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
cabal-version: 1.24
|
||||
Name: reflex-dom
|
||||
Version: 0.6.0.0
|
||||
Synopsis: Functional Reactive Web Apps with Reflex
|
||||
@ -17,7 +18,6 @@ Maintainer: ryan.trinkle@gmail.com
|
||||
Stability: Experimental
|
||||
Category: FRP, Web, GUI, HTML, Javascript, Reactive, Reactivity, User Interfaces, User-interface
|
||||
Build-type: Simple
|
||||
cabal-version: >=1.24
|
||||
extra-source-files:
|
||||
java/org/reflexfrp/reflexdom/MainWidget.java
|
||||
ChangeLog.md
|
||||
@ -46,6 +46,11 @@ flag build-examples
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
flag wasm32
|
||||
description: Build for wasm32 architecture
|
||||
default: False
|
||||
manual: True
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
if os(android)
|
||||
@ -79,7 +84,7 @@ library
|
||||
jsaddle >= 0.9.6 && < 0.10,
|
||||
jsaddle-wkwebview >= 0.9.6 && < 0.10
|
||||
else
|
||||
if arch(wasm32)
|
||||
if flag(wasm32)
|
||||
build-depends:
|
||||
jsaddle >= 0.9.6 && < 0.10,
|
||||
jsaddle-wasm >= 0.1 && < 0.2
|
||||
|
Loading…
Reference in New Issue
Block a user