about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel.to.malpa@gmail.com>2020-01-09 18:07:45 +0100
committerPaweł Dybiec <pawel.to.malpa@gmail.com>2020-01-09 18:07:45 +0100
commitb48b8bcddb781d6960e608c224db851309bf7291 (patch)
tree91bab0ce767bacf7f1d4b005af335ddfc27cc238
parentInitial commit (diff)
Add package.yaml
-rw-r--r--package.yaml49
1 files changed, 49 insertions, 0 deletions
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 <https://github.com/dyniec/wpp#readme>
+
+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