-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathhslua-examples.cabal
More file actions
78 lines (71 loc) · 2.81 KB
/
hslua-examples.cabal
File metadata and controls
78 lines (71 loc) · 2.81 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
74
75
76
77
78
cabal-version: 2.2
name: hslua-examples
version: 2.0.1
synopsis: Examples of how to combine Haskell and Lua.
description: The HsLua modules provide wrappers of Lua language
interpreter as described on the official
<https://www.lua.org/ Lua website).
.
This package contains example programs, demonstrating
the possibility to work with Lua from within Haskell
and /vice versa/.
homepage: https://hslua.org/
bug-reports: https://github.com/hslua/hslua/issues
license: MIT
license-File: LICENSE
author: Albert Krewinkel
copyright: © 2020–2021 Albert Krewinkel
maintainer: Albert Krewinkel <albert+hslua@zeitkraut.de>
category: Foreign
build-type: Simple
extra-source-files: README.md
CHANGELOG.md
wishlist/filter.lua
source-repository head
type: git
location: https://github.com/hslua/hslua.git
subdir: hslua-examples
common common-options
default-language: Haskell2010
build-depends: base >= 4.9 && < 5
ghc-options: -Wall
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef
-Werror=missing-home-modules
if impl(ghc >= 8.4)
ghc-options: -Widentities
-Wincomplete-uni-patterns
-Wpartial-fields
-fhide-source-paths
executable print-version
import: common-options
main-is: print-version.hs
hs-source-dirs: print-version
build-depends: lua >= 2.0 && < 2.4
executable run-lua
import: common-options
main-is: run-lua.hs
hs-source-dirs: run-lua
build-depends: bytestring
, hslua >= 2.0 && < 2.4
executable wishlist
import: common-options
main-is: wishlist.hs
hs-source-dirs: wishlist
build-depends: bytestring
, hslua >= 2.0 && < 2.4
, text
executable factorial
import: common-options
main-is: factorial.hs
hs-source-dirs: factorial
build-depends: bytestring
, hslua >= 2.0 && < 2.4
executable low-level-factorial
import: common-options
main-is: low-level-factorial.hs
hs-source-dirs: low-level-factorial
build-depends: lua >= 2.0 && < 2.4