name: felix version: 0.3.0.0 license: CC0-1.0 license-file: license.md github: adelon/felix extra-source-files: - license.md - readme.md data-files: - data/felix-prelude.tex dependencies: - base - binary - bound - containers - deriving-compat # for bound - deepseq - directory - bytestring - crypton - Earley - filepath - hashable >= 1.3.1.0 # 1.3.1.0 provides Hashable1 for NonEmpty - hedgehog - lucid2 - memory - megaparsec - monad-logger - mtl - optparse-applicative - parser-combinators - pretty-simple - prettyprinter - process - regex-applicative - sqlite-simple - stm - tasty - tasty-golden - tasty-hedgehog - tasty-hunit - text >= 2.0.2 - text-builder >= 1.0.0.4 # force new API - temporary - time - transformers - unliftio - unix - unordered-containers - vector default-extensions: - ApplicativeDo - ImportQualifiedPost - BlockArguments - DeriveFunctor - DeriveGeneric - FlexibleContexts - FlexibleInstances - GADTs - GeneralizedNewtypeDeriving - InstanceSigs - LambdaCase - NoImplicitPrelude - OverloadedStrings - PartialTypeSignatures - PatternSynonyms - ScopedTypeVariables - TypeFamilies - TypeOperators # Each part gets it own GHC options, because otherwise all # external libraries are compiled with our picky settings, # resulting in an unfriendly wall of warnings. library: source-dirs: source/ ghc-options: # Warnings - -Wall - -Wcompat - -Wincomplete-uni-patterns - -Wincomplete-record-updates - -Wredundant-constraints - -fno-warn-unused-do-bind # Cleaning up GHC's error messages - -freverse-errors - -fhide-source-paths executables: zf: main: cli/Main.hs dependencies: - felix ghc-options: - -rtsopts - -threaded - -with-rtsopts=-N # Warnings - -Wall - -Wcompat - -Wincomplete-uni-patterns - -Wincomplete-record-updates - -Wredundant-constraints - -fno-warn-unused-do-bind # Cleaning up GHC's error messages - -freverse-errors - -fhide-source-paths # Workaround: supresses warning about # 'Multiple files use the same module name'. when: - condition: false other-modules: Paths_felix tests: felix-test: main: Main.hs source-dirs: test/ dependencies: - felix build-tools: - felix:zf ghc-options: # Warnings - -Wall - -Wcompat - -Wincomplete-uni-patterns - -Wincomplete-record-updates - -Wredundant-constraints - -fno-warn-unused-do-bind # Cleaning up GHC's error messages - -freverse-errors - -fhide-source-paths