From 9331780bedd675ece82aebd1f12ce8b053a618f8 Mon Sep 17 00:00:00 2001 From: dan Date: Sat, 20 Apr 2024 13:58:34 -0400 Subject: feat: project also builds a "repl" executable --- hs.cabal | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'hs.cabal') 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 -- cgit v1.2.3