74 lines
1.2 KiB
YAML
74 lines
1.2 KiB
YAML
name: numbersquare
|
|
version: "0.1.0"
|
|
category: Games
|
|
synopsis: "a game where you number square"
|
|
description: "a game where you number square"
|
|
license: BSD3
|
|
author: skulk
|
|
|
|
language: GHC2021
|
|
ghc-options: "-Wall"
|
|
|
|
dependencies:
|
|
- base
|
|
- random
|
|
- array
|
|
- text
|
|
- mtl
|
|
- extra
|
|
- display
|
|
- binary
|
|
- containers
|
|
- optics
|
|
|
|
default-extensions:
|
|
- ImportQualifiedPost
|
|
- DataKinds
|
|
- FlexibleInstances
|
|
- MultiParamTypeClasses
|
|
- TypeFamilies
|
|
- UndecidableInstances
|
|
- OverloadedLabels
|
|
- NamedFieldPuns
|
|
- TypeOperators
|
|
- BlockArguments
|
|
- OverloadedStrings
|
|
|
|
build-type: Simple
|
|
|
|
library:
|
|
source-dirs:
|
|
- src
|
|
|
|
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:
|
|
-no-hs-main
|
|
-optl-mexec-model=reactor
|
|
"-optl-Wl,--export=hs_start"
|
|
cpp-options:
|
|
-DWASM
|
|
|
|
tests:
|
|
numberspec-test:
|
|
main: "Main.hs"
|
|
ghc-options: "-O0"
|
|
source-dirs:
|
|
- test
|
|
|
|
dependencies:
|
|
- hspec >= 2.1.8
|
|
- QuickCheck
|
|
- numbersquare
|