Skip to content

Commit d4054ef

Browse files
authored
Add hie.yaml.stack and use none cradle for test data (#626)
* Add a none cradle for test data in cabal cradle * Add a stack explicit hie-bios config
1 parent 9084fea commit d4054ef

File tree

3 files changed

+51
-11
lines changed

3 files changed

+51
-11
lines changed

hie.yaml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
cradle:
2-
cabal:
3-
- path: "./src"
4-
component: "ghcide:lib:ghcide"
5-
- path: "./exe"
6-
component: "ghcide:exe:ghcide"
7-
- path: "./test"
8-
component: "ghcide:test:ghcide-tests"
9-
- path: "./bench"
10-
component: "ghcide:benchmark:ghcide-bench"
11-
- path: "./test/preprocessor"
12-
component: "ghcide:exe:ghcide-test-preprocessor"
2+
multi:
3+
- path: "./test/data"
4+
config: { cradle: { none: } }
5+
- path: "./"
6+
config:
7+
cradle:
8+
cabal:
9+
- path: "./src"
10+
component: "ghcide:lib:ghcide"
11+
- path: "./exe"
12+
component: "ghcide:exe:ghcide"
13+
- path: "./test"
14+
component: "ghcide:test:ghcide-tests"
15+
- path: "./bench"
16+
component: "ghcide:bench:ghcide-bench"
17+
- path: "./test/preprocessor"
18+
component: "ghcide:exe:ghcide-test-preprocessor"

hie.yaml.cbl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
cradle:
2+
multi:
3+
- path: "./test/data"
4+
config: { cradle: { none: } }
5+
- path: "./"
6+
config:
7+
cradle:
8+
cabal:
9+
- path: "./src"
10+
component: "ghcide:lib:ghcide"
11+
- path: "./exe"
12+
component: "ghcide:exe:ghcide"
13+
- path: "./test"
14+
component: "ghcide:test:ghcide-tests"
15+
- path: "./test/preprocessor"
16+
component: "ghcide:exe:ghcide-test-preprocessor"

hie.yaml.stack

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
cradle:
2+
multi:
3+
- path: "./test/data"
4+
config: { cradle: { none: } }
5+
- path: "./"
6+
config:
7+
cradle:
8+
stack:
9+
- path: "./src"
10+
component: "ghcide:lib"
11+
- path: "./exe"
12+
component: "ghcide:exe:ghcide"
13+
- path: "./test"
14+
component: "ghcide:test:ghcide-tests"
15+
- path: "./bench"
16+
component: "ghcide:bench:ghcide-bench"
17+
- path: "./test/preprocessor"
18+
component: "ghcide:exe:ghcide-test-preprocessor"

0 commit comments

Comments
 (0)