on master help sign in
remove Setup.hs and update modules in .cabal
commit991d3a48d42dbb556d59d87c852725d65c46257d authorAbhishek Singh <abhishek17513@gmail.com> dateSat 11 Mar 2023, 23:26 (4 years ago) parent1d72bf7
3 files changed+8−18
Setup.hs−2 hie.yaml+5−16 jrec.cabal+3
Setup.hsdeleted−2
@@ -1,2 +0,0 @@
1−import Distribution.Simple
2−main = defaultMain
hie.yaml+5−16
@@ -1,17 +1,6 @@
11cradle:
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:
14− - path: "./src"
15− component: "lib:jrec"
16− - path: "./test"
17− component: "test:jrec-test"
2+ cabal:
3+ - path: "./src"
4+ component: "lib:jrec"
5+ - path: "./test"
6+ component: "test:jrec-test"
jrec.cabal+3
@@ -97,6 +97,9 @@ test-suite jrec-test
9797 hs-source-dirs: test, src
9898 main-is: Spec.hs
9999 cpp-options: -DWITH_AESON -DWITH_GENERICS
100+ other-modules:
101+ JRecShouldNotTypecheckSpec
102+ JRecSpec
100103 build-depends:
101104 base,
102105 hspec,