-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathapp.cabal
More file actions
49 lines (44 loc) · 1.04 KB
/
app.cabal
File metadata and controls
49 lines (44 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
cabal-version: 3.0
name: app
version: 0.1.0.0
synopsis: A miso-sampler application
description: Getting started miso application
license: BSD-3-Clause
license-file: LICENSE
author: dmjio
maintainer: code@dmj.io
copyright: haskell-miso @ 2025
category: Web
build-type: Simple
extra-doc-files: CHANGELOG.md
flag interactive
default:
False
manual:
True
common warnings
ghc-options:
-funbox-strict-fields -O2 -ferror-spans -fspecialise-aggressively -Wall
common options
if arch(wasm32)
ghc-options:
-no-hs-main -optl-mexec-model=reactor "-optl-Wl,--export=hs_start"
cpp-options:
-DWASM
if flag (interactive)
cpp-options:
-DINTERACTIVE
if arch(javascript)
ld-options:
-sEXPORTED_RUNTIME_METHODS=HEAP8
executable app
import:
options, warnings
main-is:
Main.hs
build-depends:
base < 5, miso >= 1.9
hs-source-dirs:
app
default-language:
Haskell2010