From b48b8bcddb781d6960e608c224db851309bf7291 Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Thu, 9 Jan 2020 18:07:45 +0100 Subject: Add package.yaml --- package.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 package.yaml diff --git a/package.yaml b/package.yaml new file mode 100644 index 0000000..ebbce42 --- /dev/null +++ b/package.yaml @@ -0,0 +1,49 @@ +name: wpp +version: 0.1.0.0 +github: "dyniec/wpp" +license: BSD3 +author: "Paweł Dybiec" +maintainer: "pawel.to.malpa@gmail.com" +copyright: "Copyright (c) 2019 Paweł Dybiec" + +extra-source-files: +- README.md +- ChangeLog.md + +# Metadata used when publishing your package +# synopsis: Short description of your package +# category: Web + +# To avoid duplicated efforts in documentation and dealing with the +# complications of embedding Haddock markup inside cabal files, it is +# common to point users to the README.md file. +description: Please see the README on GitHub at + +dependencies: +- base >= 4.7 && < 5 + +library: + source-dirs: src + +executables: + wpp-exe: + main: Main.hs + source-dirs: app + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - wpp + +tests: + wpp-test: + main: Spec.hs + source-dirs: test + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - wpp + - hspec -- cgit 1.4.1