# Adapted from new-template.hsfiles name: utoy # Keep this in sync with the version in flake.nix. version: 0.6.1 git: "https://git.pbrinkmeier.de/paul/utoy" license: MIT author: "Paul Brinkmeier" maintainer: "hallo@pbrinkmeier.de" copyright: "2023 Paul Brinkmeier" extra-source-files: - README.md - static/utoy.css dependencies: - base >= 4.7 && < 5 - attoparsec - text ghc-options: - -Wall - -Wcompat - -Widentities - -Wincomplete-record-updates - -Wincomplete-uni-patterns - -Wmissing-export-lists - -Wmissing-home-modules - -Wpartial-fields - -Wredundant-constraints library: source-dirs: src executables: utoy: main: Main.hs source-dirs: app ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N dependencies: - utoy - blaze-html - bytestring - file-embed - http-media - servant-server - text - unicode-data - unicode-data-names - wai - warp # Fix "Multiple files use the same module name", see # https://stackoverflow.com/questions/67519851/multiple-files-use-the-same-module-name when: - condition: false other-modules: Paths_utoy tests: utoy-test: main: Spec.hs source-dirs: test ghc-options: - -threaded - -rtsopts - -with-rtsopts=-N dependencies: - utoy