summaryrefslogtreecommitdiff
path: root/package.yaml
diff options
context:
space:
mode:
authorstuebinm2022-01-15 00:46:30 +0100
committerstuebinm2022-01-15 00:47:41 +0100
commit868194be1f8da4d434498247dea715c2aa5ff869 (patch)
tree12bd386b6c05a61fec32836fc808d3d0d2e919a2 /package.yaml
parent98faf732052c24766b0abfc38ce6b7178c226a61 (diff)
use hpack and clean up modules
as annoying as yaml is, cabal's package format is somehow worse, apparently
Diffstat (limited to '')
-rw-r--r--package.yaml52
1 files changed, 52 insertions, 0 deletions
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