forked from koka-lang/koka
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.yaml
More file actions
74 lines (68 loc) · 1.36 KB
/
Copy pathpackage.yaml
File metadata and controls
74 lines (68 loc) · 1.36 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: koka
version: 2.1.7
github: "koka-lang/koka"
license: Apache-2.0
author: Daan Leijen
maintainer: daan@microsoft.com
extra-source-files:
- readme.md
description: Please see the README on GitHub at <https://github.com/koka-lang/koka#readme>
dependencies:
- base >= 4.13 && < 5
- array
- bytestring
- cond
- containers
- directory
- mtl
- parsec
- process
- text
- time
- haskeline
executables:
koka:
main: Main.hs
# source-dirs: app
# dependencies: koka
other-extensions:
- CPP
- OverloadedStrings
source-dirs:
- src
- src/Platform/cpp
c-sources:
- src/Platform/cpp/Platform/cconsole.c
include-dirs:
- src/Platform/cpp/Platform
build-tools:
- alex
ghc-options:
- -rtsopts
cpp-options:
- -DKOKA_MAIN="koka"
- -DKOKA_VARIANT="release"
- -DKOKA_VERSION="2.1.7"
# - -DREADLINE=1 # to avoid using Haskeline
when:
- condition: os(windows)
cpp-options: -DWINDOWS
- condition: os(darwin)
cpp-options: -DDARWIN
tests:
koka-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
# - koka
- extra
- filepath
- hspec
- hspec-core
- process
- regex-compat
- json