From a26aa4918ce8e508a9847b2eb3ddae786aed44d6 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Mon, 29 Jul 2019 20:16:37 -0400 Subject: add some haskell this is a "hello world" http server that runs on 8080 --- package.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package.yaml (limited to 'package.yaml') diff --git a/package.yaml b/package.yaml new file mode 100644 index 0000000..002ad71 --- /dev/null +++ b/package.yaml @@ -0,0 +1,40 @@ +name: anomic +version: 0.1.0.0 +github: "afcady/anomic" +author: "Andrew Cady" +maintainer: "d@jerkface.net" +copyright: "AllRightsReserved" +description: A game of Nomic + +dependencies: +- base >= 4.7 && < 5 +- rebase +- servant-server + +ghc-options: -W -Wall -O2 + +library: + source-dirs: src + +executables: + anomic: + main: anomic.hs + source-dirs: . + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - anomic + - warp + +tests: + anomic-test: + main: Spec.hs + source-dirs: test + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - anomic -- cgit v1.2.3