From 2ce9a23fe7de72f4c8bf33a8c26f555cf08f8715 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 1 Feb 2022 00:30:13 +0100 Subject: 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 … --- package.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'package.yaml') 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 -- cgit v1.2.3