aboutsummaryrefslogtreecommitdiff
path: root/uncron.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'uncron.cabal')
-rw-r--r--uncron.cabal65
1 files changed, 65 insertions, 0 deletions
diff --git a/uncron.cabal b/uncron.cabal
new file mode 100644
index 0000000..cbeec89
--- /dev/null
+++ b/uncron.cabal
@@ -0,0 +1,65 @@
+cabal-version: 3.0
+name: uncron
+version: 0.1.0.0
+license: MPL-2.0
+license-file: COPYING
+author: evuez
+maintainer: julien@mulga.net
+build-type: Simple
+
+common warnings
+ ghc-options:
+ -Wall
+ -- -Werror
+ -- -Wall-missed-specialisations
+ -Wcpp-undef
+ -Widentities
+ -Wimplicit-prelude
+ -Wincomplete-record-updates
+ -Wincomplete-uni-patterns
+ -Wmissed-specialisations
+ -- -Wmissing-deriving-strategies
+ -Wmissing-export-lists
+ -Wmissing-exported-signatures
+ -Wmissing-home-modules
+ -- -Wmissing-import-lists
+ -Wmissing-local-signatures
+ -Wmonomorphism-restriction
+ -Wpartial-fields
+ -Wredundant-constraints
+ -Wunused-packages
+ -Wunused-type-patterns
+
+common exe
+ default-extensions:
+ NoImplicitPrelude
+ DuplicateRecordFields
+ OverloadedRecordDot
+ LambdaCase
+ other-modules:
+ Intro
+ Common
+ Cron
+ Cron.Expr
+ Cron.Schedule
+ Cron.Parser
+ build-depends: base >=4.17.2.1
+ hs-source-dirs: app,src
+ default-language: Haskell2010
+
+executable uncron
+ import: warnings
+ import: exe
+ main-is: Main.hs
+ ghc-options:
+ -fno-expose-internal-symbols
+ -O2
+
+executable uncron-dyn
+ import: warnings
+ import: exe
+ main-is: Main.hs
+ ghc-options:
+ -fno-expose-internal-symbols
+ -O2
+ -dynamic