From 8dfc543490166c2bb5ebe058ffbc2eb05f7122e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hillerstr=C3=B6m?= Date: Wed, 16 Nov 2016 16:38:07 +0000 Subject: [PATCH] Stack build file for Frank --- frank.cabal | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ stack.yaml | 8 ++++++++ 2 files changed, 65 insertions(+) create mode 100644 frank.cabal create mode 100644 stack.yaml diff --git a/frank.cabal b/frank.cabal new file mode 100644 index 0000000..1fe2b22 --- /dev/null +++ b/frank.cabal @@ -0,0 +1,57 @@ +name: frank +version: 0.1.0.0 +synopsis: Frank programming language +description: Please see README.md +homepage: https://github.com/cmcl/frankjnr +author: Craig McLaughlin +maintainer: example@example.com +copyright: 2016 Craig McLaughlin +category: Web +build-type: Simple +cabal-version: >=1.10 + +executable frank + hs-source-dirs: . + , shonky/src + other-modules: BwdFwd + , Compile + , DesugarSyntax + , ExpectedTestOutput + , FreshNames + , Parser + , RefineSyntax + , Shonky.Semantics + , Shonky.Syntax + , Syntax + , TypeCheck + , TypeCheckCommon + , Unification + + build-depends: base >= 4.7 && < 5 + , mtl + , containers + , transformers + , Unique + , text + , unordered-containers + , parsers + , trifecta + , tasty + , tasty-hunit + , indentation-trifecta + main-is: Frank.hs + ghc-options: -threaded -rtsopts -with-rtsopts=-N + default-language: Haskell2010 + +test-suite frank-test + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Spec.hs + build-depends: base + , frank + ghc-options: -threaded -rtsopts -with-rtsopts=-N + default-language: Haskell2010 + +source-repository head + type: git + location: https://github.com/cmcl/frankjnr/ diff --git a/stack.yaml b/stack.yaml new file mode 100644 index 0000000..1d26bd4 --- /dev/null +++ b/stack.yaml @@ -0,0 +1,8 @@ +flags: {} +extra-package-dbs: [] +packages: +- '.' +extra-deps: +- Unique-0.4.5 +- indentation-trifecta-0.0.1 +resolver: lts-7.8