aboutsummaryrefslogtreecommitdiff
path: root/hsm-web/hsm-web.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hsm-web/hsm-web.cabal')
-rw-r--r--hsm-web/hsm-web.cabal46
1 files changed, 46 insertions, 0 deletions
diff --git a/hsm-web/hsm-web.cabal b/hsm-web/hsm-web.cabal
new file mode 100644
index 0000000..89d97e9
--- /dev/null
+++ b/hsm-web/hsm-web.cabal
@@ -0,0 +1,46 @@
+cabal-version: 3.8
+author: Paul Oliver <contact@pauloliver.dev>
+name: hsm-web
+version: 0.1.0.0
+data-files: Html/index.html
+
+library
+ build-depends:
+ , base
+ , effectful-core
+ , effectful-plugin
+ , hsm-cam
+ , hsm-log
+ , scotty
+ , warp
+
+ default-language: GHC2024
+ exposed-modules: Hsm.Web
+ ghc-options:
+ -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages
+ -fplugin=Effectful.Plugin
+
+ other-modules: Paths_hsm_web
+
+executable hsm-web
+ build-depends:
+ , base
+ , effectful-core
+ , effectful-plugin
+ , hsm-cam
+ , hsm-log
+ , scotty
+ , warp
+
+ default-language: GHC2024
+ ghc-options:
+ -O2 -threaded -Wall -Werror -Wno-star-is-type -Wunused-packages
+ -fplugin=Effectful.Plugin
+
+ if !arch(x86_64)
+ ghc-options: -optl=-mno-fix-cortex-a53-835769
+
+ main-is: Main.hs
+ other-modules:
+ Hsm.Web
+ Paths_hsm_web