From bbae6ddb97c0825f6b0b689f4d9eeac67515d1c1 Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 21 Dec 2019 19:28:58 +0100 Subject: compiler: init stack project --- compiler/package.yaml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 compiler/package.yaml (limited to 'compiler/package.yaml') diff --git a/compiler/package.yaml b/compiler/package.yaml new file mode 100644 index 0000000..7cd0178 --- /dev/null +++ b/compiler/package.yaml @@ -0,0 +1,48 @@ +name: ldgallery-compiler +version: 0.1.0.0 +github: "githubuser/ldgallery-compiler" +license: BSD3 +author: "Author name here" +maintainer: "example@example.com" +copyright: "2019 Author name here" + +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: + ldgallery-compiler-exe: + main: Main.hs + source-dirs: app + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - ldgallery-compiler + +tests: + ldgallery-compiler-test: + main: Spec.hs + source-dirs: test + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - ldgallery-compiler -- cgit v1.2.3