From c13617684eb10fc622cc502249591002e2f7d74c Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 25 Feb 2024 21:04:03 +0100 Subject: Separate out library --- hs-visinter.cabal | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'hs-visinter.cabal') 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 -- cgit v1.2.3-70-g09d2