aboutsummaryrefslogtreecommitdiff
path: root/package.yaml
diff options
context:
space:
mode:
authoradambrangenberg <adabran06@gmail.com>2025-12-24 03:40:10 +0100
committeradambrangenberg <adabran06@gmail.com>2025-12-24 03:40:10 +0100
commita0886694f73fc382d78da79ab8bfb27475757bab (patch)
tree652ba9b603a1acaf4dfca188f7bb2c29c6bccfd0 /package.yaml
parent2b48a574e8b9fed03a5c1969af4bb1e338f1be26 (diff)
Implemented basic auth, refactor
Diffstat (limited to 'package.yaml')
-rw-r--r--package.yaml25
1 files changed, 24 insertions, 1 deletions
diff --git a/package.yaml b/package.yaml
index 2f352e7..576f609 100644
--- a/package.yaml
+++ b/package.yaml
@@ -15,7 +15,7 @@ extra-source-files:
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
-# complications of embedding Haddock markup inside cabal files, it is
+# complications of embedding Haddock markup inside cabal files it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/adambrangenberg/jamaa#readme>
@@ -29,6 +29,15 @@ dependencies:
- MissingH
- bytestring
- wai-cors
+ - persistent
+ - persistent-sqlite
+ - persistent-template
+ - monad-logger
+ - resource-pool
+ - text
+ - mtl
+ - bcrypt
+ - base16-bytestring
ghc-options:
- -Wall
@@ -56,6 +65,20 @@ executables:
- base
- jamaa
+ add-user:
+ main: Main.hs
+ source-dirs: cli
+ ghc-options:
+ - -threaded
+ - -rtsopts
+ - -with-rtsopts=-N
+ dependencies:
+ - jamaa
+ - persistent
+ - text
+ - bcrypt
+ - base16-bytestring
+
tests:
jamaa-test:
main: Spec.hs