summaryrefslogtreecommitdiff
path: root/package.yaml
diff options
context:
space:
mode:
authorstuebinm2022-02-01 00:30:13 +0100
committerstuebinm2022-03-19 19:25:50 +0100
commit9e3783d04284f25571a744755a82afbd7e2c6534 (patch)
treefdf08a6f6dee476c0189afb8cb7cf39b7e127244 /package.yaml
parent1530a4646b5bb7ab2930d1433eda87d5f0936125 (diff)
basic server setup (using servant)
adds a very basic http server that can be sent links to repositories & will download & lint them, then answer the request with the lints. Should probably do this in a non-blocking way …
Diffstat (limited to 'package.yaml')
-rw-r--r--package.yaml22
1 files changed, 21 insertions, 1 deletions
diff --git a/package.yaml b/package.yaml
index b3684cd..95ed5fb 100644
--- a/package.yaml
+++ b/package.yaml
@@ -43,10 +43,30 @@ executables:
walint:
main: Main.hs
source-dirs: 'src'
- build-tools: hspec-discover
dependencies:
- walint
- getopt-generics
- aeson-pretty
- template-haskell
- process
+ server:
+ main: Main.hs
+ source-dirs: 'server'
+ dependencies:
+ - time
+ - servant
+ - servant-server
+ - wai
+ - base-compat
+ - string-conversions
+ - http-media
+ - warp
+ - cli-git
+ - cli-extras
+ - filepath
+ - logging-effect
+ - process
+ - extra
+ - directory
+ - walint
+ - uuid