summaryrefslogtreecommitdiff
path: root/minici.cabal
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-06-02 21:10:19 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2024-06-07 22:20:35 +0200
commitd6b5ff12ecf58b4ab502be96ebbc7d74b33c0692 (patch)
treeaf9546fd7b11b36ae820dccc6b28548a82aade6d /minici.cabal
parentba789c3413ac996cb65314cb5ac9f77bd9617ff9 (diff)
MiniCI configuration and cabal flag
Diffstat (limited to 'minici.cabal')
-rw-r--r--minici.cabal17
1 files changed, 16 insertions, 1 deletions
diff --git a/minici.cabal b/minici.cabal
index f295d2b..a361cd3 100644
--- a/minici.cabal
+++ b/minici.cabal
@@ -20,9 +20,24 @@ maintainer: roman.smrz@seznam.cz
extra-doc-files:
CHANGELOG.md
+flag ci
+ description: Options for CI testing
+ default: False
+ manual: True
+
executable minici
main-is: Main.hs
- ghc-options: -Wall -threaded
+
+ ghc-options:
+ -Wall
+ -threaded
+ -fdefer-typed-holes
+
+ if flag(ci)
+ ghc-options:
+ -Werror
+ -- sometimes needed for backward/forward compatibility:
+ -Wno-error=unused-imports
-- Modules included in this executable, other than Main.
other-modules: