From 66718845d8bc2a81934321de9f44379e4b59e80b Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan <aadhavan@twomorecents.org> Date: Fri, 2 May 2025 10:30:20 -0400 Subject: [PATCH] Updated cabal file with instructions on split modules --- md-to-html.cabal | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/md-to-html.cabal b/md-to-html.cabal index d74238a..f12a362 100644 --- a/md-to-html.cabal +++ b/md-to-html.cabal @@ -53,7 +53,13 @@ extra-doc-files: CHANGELOG.md common warnings ghc-options: -Wall -executable md-to-html +library + hs-source-dirs: src + exposed-modules: MdToHTML + build-depends: base ^>=4.19.1.0, + HUnit + +executable md-to-html-runner -- Import common warning flags. import: warnings @@ -67,7 +73,9 @@ executable md-to-html -- other-extensions: -- Other library packages from which modules are imported. - build-depends: base ^>=4.19.1.0 + build-depends: base ^>=4.19.1.0, + md-to-html, + HUnit -- Directories containing source files. hs-source-dirs: app