From 868194be1f8da4d434498247dea715c2aa5ff869 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 15 Jan 2022 00:46:30 +0100 Subject: use hpack and clean up modules as annoying as yaml is, cabal's package format is somehow worse, apparently --- package.yaml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 package.yaml (limited to 'package.yaml') diff --git a/package.yaml b/package.yaml new file mode 100644 index 0000000..b3684cd --- /dev/null +++ b/package.yaml @@ -0,0 +1,52 @@ +name: walint +version: 0.1 +homepage: https://stuebinm.eu/git/walint +# TODO: license +author: stuebinm +maintainer: stuebinm@disroot.org +copyright: 2022 stuebinm +ghc-options: -Wall -Wno-name-shadowing + +dependencies: + - base + - aeson + - bytestring + - mtl + - text + +library: + source-dirs: 'lib' + dependencies: + - containers + - text + - vector + - transformers + - either + - filepath + - getopt-generics + - regex-tdfa + - extra + - witherable + - dotgen + - text-metrics + - uri-encode + - network-uri + - HList + exposed-modules: + - CheckDir + - WriteRepo + - Util + - Types + - LintConfig + +executables: + walint: + main: Main.hs + source-dirs: 'src' + build-tools: hspec-discover + dependencies: + - walint + - getopt-generics + - aeson-pretty + - template-haskell + - process -- cgit v1.2.3