From 87049cd09b0c69d2e7309da6af37989b6d692c53 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sun, 11 Jul 2021 14:17:34 +0200 Subject: [PATCH] cabal file --- .gitignore | 1 - hmonitors.cabal | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 hmonitors.cabal diff --git a/.gitignore b/.gitignore index f693319..834c089 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .stack-work/ *~ -hmonitors.cabal stack.yaml.lock diff --git a/hmonitors.cabal b/hmonitors.cabal new file mode 100644 index 0000000..b81e237 --- /dev/null +++ b/hmonitors.cabal @@ -0,0 +1,26 @@ +name: hmonitors +version: 0.1.0.0 +license: BSD3 +author: Ricard Illa +maintainer: rilla@monotremata.xyz +extra-source-files: README.md +cabal-version: >= 1.8 + +library + exposed-modules: Monitors.Battery + Monitors.Date + Monitors.Net + Monitors.Volume + hs-source-dirs: src + build-depends: base + , containers + , process + , regex-compat + , split + , time + +executable hmonitors-query + main-is: Main.hs + hs-source-dirs: app + build-depends: hmonitors, base + ghc-options: -Wall -Werror -O2 -threaded -rtsopts -with-rtsopts=-N