aboutsummaryrefslogtreecommitdiffstats
path: root/achat.cabal
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2025-03-02 16:12:52 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2025-03-02 16:12:52 +0100
commit75066cddefbeab6d69aa4efe0a4aa97915c98c84 (patch)
tree167d601d91d560c7373b18b0abac20568b604fae /achat.cabal
parentfefb6424bddd6ac4bf0b68f30fbf6a7f59658cec (diff)
hybrid shell
Diffstat (limited to 'achat.cabal')
-rw-r--r--achat.cabal16
1 files changed, 15 insertions, 1 deletions
diff --git a/achat.cabal b/achat.cabal
index 448a896..cd86478 100644
--- a/achat.cabal
+++ b/achat.cabal
@@ -8,7 +8,7 @@ author: Alexander Foremny
category: Web
build-type: Simple
-executable achat
+executable frontend
main-is: Main.hs
hs-source-dirs: app
default-language: Haskell2010
@@ -21,3 +21,17 @@ executable achat
protolude,
row-types,
unliftio
+
+ if !arch(javascript)
+ buildable: False
+
+executable backend
+ main-is: acms.hs
+ hs-source-dirs: .
+ default-language: Haskell2010
+ build-depends:
+ base,
+ acms
+
+ if arch(javascript)
+ buildable: False