WASM hello world
This commit is contained in:
parent
38838c47b9
commit
77ee0c0abb
9 changed files with 121 additions and 46 deletions
13
package.yaml
13
package.yaml
|
|
@ -6,10 +6,11 @@ description: "a game where you number square"
|
|||
license: BSD3
|
||||
author: skulk
|
||||
|
||||
language: GHC2021
|
||||
ghc-options: "-Wall"
|
||||
|
||||
dependencies:
|
||||
- "base == 4.*"
|
||||
- base
|
||||
- random
|
||||
- array
|
||||
- text
|
||||
|
|
@ -30,6 +31,8 @@ default-extensions:
|
|||
- OverloadedLabels
|
||||
- NamedFieldPuns
|
||||
- TypeOperators
|
||||
- BlockArguments
|
||||
- OverloadedStrings
|
||||
|
||||
build-type: Simple
|
||||
|
||||
|
|
@ -41,6 +44,14 @@ executable:
|
|||
source-dirs:
|
||||
- app
|
||||
main: Main.hs
|
||||
dependencies:
|
||||
- base
|
||||
- reflex
|
||||
- reflex-dom-core
|
||||
- "ghcjs-dom == 0.9.*"
|
||||
- jsaddle
|
||||
- jsaddle-wasm
|
||||
- ghc-experimental
|
||||
when:
|
||||
- condition: arch(wasm32)
|
||||
ghc-options:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue