Commit 136b219a authored by Nicolas Lenz's avatar Nicolas Lenz

Preparations for test suite

parent 1543533d
module Main where
import Katrin
-- | An excellent main function.
-- | ~ Chef Excellence
main :: IO ()
......
......@@ -4,7 +4,7 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 3f1f9a4db7b01dd6dab03afa5875f5a4383fefec1176837dd482d66e518bcc04
-- hash: ba304beebcb30ee15e768714c498d47eb5fc6a1eb185c60f27a665dc1a537a1b
name: katrin
version: 0.0.0
......@@ -26,7 +26,6 @@ source-repository head
library
exposed-modules:
Katrin
Main
other-modules:
Paths_katrin
hs-source-dirs:
......@@ -39,10 +38,23 @@ library
executable katrin
main-is: Main.hs
other-modules:
Katrin
Paths_katrin
hs-source-dirs:
src
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, katrin
, text
default-language: Haskell2010
test-suite katrin-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_katrin
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
......
......@@ -23,7 +23,18 @@ library:
executables:
katrin:
main: Main.hs
source-dirs: src
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- katrin
tests:
katrin-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
......
main :: IO ()
main = putStrLn "Test suite not yet implemented"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment