From a0886694f73fc382d78da79ab8bfb27475757bab Mon Sep 17 00:00:00 2001 From: adambrangenberg Date: Wed, 24 Dec 2025 03:40:10 +0100 Subject: Implemented basic auth, refactor --- package.yaml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'package.yaml') 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 @@ -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 -- cgit v1.2.3