Skip to content

Commit 6d09dbd

Browse files
alanzAvi-D-coder
authored andcommitted
Add sample hie.yaml files for stack and cabal
The cabal one is tested per component. The stack one has issues because of the nested library. Note: the suffix on the cabal one cannot be '.cabal', as that extension is already used.
1 parent af0b834 commit 6d09dbd

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

hie.yaml.cbl

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
cradle:
2+
cabal:
3+
- path: "./test/dispatcher/"
4+
component: "haskell-ide-engine:dispatcher-test"
5+
6+
- path: "./test/functional/"
7+
component: "haskell-ide-engine:func-test"
8+
9+
- path: "./test/unit/"
10+
component: "haskell-ide-engine:unit-test"
11+
12+
- path: "./test/plugin-dispatcher/"
13+
component: "haskell-ide-engine:plugin-dispatcher-test"
14+
15+
- path: "./test/wrapper/"
16+
component: "haskell-ide-engine:wrapper-test"
17+
18+
- path: "./hie-plugin-api/"
19+
component: "lib:hie-plugin-api"
20+
21+
- path: "./app/MainHie.hs"
22+
component: "haskell-ide-engine:hie:exe"
23+
24+
- path: "./app/HieWrapper.hs"
25+
component: "haskell-ide-engine:hie-wrapper:exe"
26+
27+
- path: "./"
28+
component: "lib:haskell-ide-engine"

hie.yaml.stack

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
cradle:
2+
stack:
3+
- path: "./hie-plugin-api/"
4+
component: "hie-plugin-api:lib"
5+
6+
- path: "./test/dispatcher/"
7+
component: "haskell-ide-engine:test:dispatcher-test"
8+
9+
- path: "./test/functional/"
10+
component: "haskell-ide-engine:test:func-test"
11+
12+
- path: "./test/unit/"
13+
component: "haskell-ide-engine:test:unit-test"
14+
15+
- path: "./test/plugin-dispatcher/"
16+
component: "haskell-ide-engine:test:plugin-dispatcher-test"
17+
18+
- path: "./test/wrapper/"
19+
component: "haskell-ide-engine:test:wrapper-test"
20+
21+
- path: "./test/utils/"
22+
component: "haskell-ide-engine:lib:hie-test-utils"
23+
24+
- path: "./app/MainHie.hs"
25+
component: "haskell-ide-engine:exe:hie"
26+
27+
- path: "./app/HieWrapper.hs"
28+
component: "haskell-ide-engine:exe:hie-wrapper"
29+
30+
- path: "./"
31+
component: "haskell-ide-engine:lib"

0 commit comments

Comments
 (0)