on master help sign in
remove Setup.hs and update modules in .cabal
991d3a4Abhishek Singh
Setup.hsdeleted−2
@@ -1,2 +0,0 @@
1−import Distribution.Simple
2−main = defaultMain
hie.yaml+5−16
@@ -1,17 +1,6 @@
1cradle:
1cradle:
2− multi:
3− - path: ./Setup.hs
4− config:
5− cradle:
6− direct:
7− arguments:
8− - "-package Cabal"
9− - "-package base"
10− - path: ./
11− config:
12− cradle:
13− cabal:
2+ cabal:
14− - path: "./src"
3+ - path: "./src"
15− component: "lib:jrec"
4+ component: "lib:jrec"
16− - path: "./test"
5+ - path: "./test"
17− component: "test:jrec-test"
6+ component: "test:jrec-test"
jrec.cabal+3
@@ -97,6 +97,9 @@ test-suite jrec-test
97 hs-source-dirs: test, src
97 hs-source-dirs: test, src
98 main-is: Spec.hs
98 main-is: Spec.hs
99 cpp-options: -DWITH_AESON -DWITH_GENERICS
99 cpp-options: -DWITH_AESON -DWITH_GENERICS
100+ other-modules:
101+ JRecShouldNotTypecheckSpec
102+ JRecSpec
100 build-depends:
103 build-depends:
101 base,
104 base,
102 hspec,
105 hspec,