Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
fix(hie): split test and bench cradles
Browse files Browse the repository at this point in the history
Split 'hie.yaml' into multiple files, with specific configurations for
tests and benchmarks. Fix for haskell/haskell-language-server#366
  • Loading branch information
marmitar committed Aug 31, 2023
1 parent 899ab4e commit 625eabc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
3 changes: 3 additions & 0 deletions bench/hie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cradle:
stack:
component: mcsp-algorithms:bench:bench
21 changes: 5 additions & 16 deletions hie.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
cradle:
multi:
- path: "./bench"
config:
cradle:
cabal:
component: bench:MCSP-Algorithms-bench
- path: "./"
config:
cradle:
stack:
- path: "./src"
component: MCSP-Algorithms:lib
- path: "./test"
component: MCSP-Algorithms:test:MCSP-Algorithms-test
- path: "./app"
component: MCSP-Algorithms:exe:playground
stack:
- path: src
component: mcsp-algorithms:lib
- path: app
component: mcsp-algorithms:exe:playground
3 changes: 3 additions & 0 deletions test/hie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cradle:
stack:
component: mcsp-algorithms:test:spec

0 comments on commit 625eabc

Please sign in to comment.