aboutsummaryrefslogtreecommitdiffstats
path: root/hs.cabal
diff options
context:
space:
mode:
authordan <[email protected]>2024-04-20 13:58:34 -0400
committerdan <[email protected]>2024-04-20 13:58:34 -0400
commit9331780bedd675ece82aebd1f12ce8b053a618f8 (patch)
tree0904c84c1207aad92585b4c9c2017db570ce4b50 /hs.cabal
parent77a0492e543af59a2f3ed132e2ce08ac9816d8fc (diff)
downloadbizexp-9331780bedd675ece82aebd1f12ce8b053a618f8.tar.gz
bizexp-9331780bedd675ece82aebd1f12ce8b053a618f8.tar.bz2
bizexp-9331780bedd675ece82aebd1f12ce8b053a618f8.zip
feat: project also builds a "repl" executable
Diffstat (limited to 'hs.cabal')
-rwxr-xr-xhs.cabal21
1 files changed, 17 insertions, 4 deletions
diff --git a/hs.cabal b/hs.cabal
index 7f3bcf8..9cab28f 100755
--- a/hs.cabal
+++ b/hs.cabal
@@ -24,10 +24,8 @@ build-type: Simple
extra-source-files: CHANGELOG.md
library
- exposed-modules: RestService
-
- -- Modules included in this library but not exported.
- other-modules: BizExpr
+ exposed-modules: RestService,
+ BizExpr
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
@@ -43,6 +41,21 @@ library
hs-source-dirs: src
default-language: Haskell2010
+executable repl
+ main-is: Repl.hs
+
+ -- Modules included in this executable, other than Main.
+ -- other-modules:
+
+ -- LANGUAGE extensions used by modules in this package.
+ -- other-extensions:
+ build-depends:
+ base ^>=4.19.1.0,
+ hs
+
+ hs-source-dirs: app
+ default-language: Haskell2010
+
executable hs
main-is: Main.hs