aboutsummaryrefslogtreecommitdiff
path: root/hs-visinter.cabal
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-02-25 21:04:03 +0100
committerTom Smeding <tom@tomsmeding.com>2024-02-25 21:04:03 +0100
commitc13617684eb10fc622cc502249591002e2f7d74c (patch)
tree1d7171e32f4503817e013133ac56f6d2ea4095ac /hs-visinter.cabal
parentf72bf16e2edc8d654e661cd59f820409219e5f27 (diff)
Separate out library
Diffstat (limited to 'hs-visinter.cabal')
-rw-r--r--hs-visinter.cabal15
1 files changed, 12 insertions, 3 deletions
diff --git a/hs-visinter.cabal b/hs-visinter.cabal
index 181d112..748355d 100644
--- a/hs-visinter.cabal
+++ b/hs-visinter.cabal
@@ -7,9 +7,8 @@ author: Tom Smeding
maintainer: tom@tomsmeding.com
build-type: Simple
-executable hs-visinter
- main-is: Main.hs
- other-modules:
+library
+ exposed-modules:
Control.FAlternative
HSVIS.AST
HSVIS.Parser
@@ -23,3 +22,13 @@ executable hs-visinter
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -threaded
+
+executable hs-visinter
+ main-is: Main.hs
+ other-modules:
+ build-depends:
+ base,
+ hs-visinter
+ hs-source-dirs: app
+ default-language: Haskell2010
+ ghc-options: -Wall -threaded