Split into library and executable

This commit is contained in:
Niels G. W. Serup 2024-09-21 17:31:57 +02:00
parent 111fe3cee5
commit 987a7809bb
No known key found for this signature in database
GPG Key ID: 38EEEBCE67324F19
1 changed files with 11 additions and 5 deletions

View File

@ -13,15 +13,21 @@ common common
ghc-options: -Wall
default-language: GHC2024
executable byg
library
import: common
main-is: Main.hs
other-modules:
hs-source-dirs: src
exposed-modules:
Sources
Functions
ComputationM
hs-source-dirs: src
build-depends:
base
, mtl
, bytestring
executable byg
import: common
main-is: src/Main.hs
build-depends:
base
, byg