From 03a8c419aea4f1cec9623fdcc07316fa2a9d677a Mon Sep 17 00:00:00 2001 From: Tiago de Paula Date: Wed, 30 Aug 2023 22:37:58 -0300 Subject: [PATCH] fix(hie): split test and bench cradles Split 'hie.yaml' into multiple files, with specific configurations for tests and benchmarks. Fix for haskell/haskell-language-server#366 --- bench/hie.yaml | 3 +++ hie.yaml | 21 +++++---------------- test/hie.yaml | 3 +++ 3 files changed, 11 insertions(+), 16 deletions(-) create mode 100644 bench/hie.yaml create mode 100644 test/hie.yaml diff --git a/bench/hie.yaml b/bench/hie.yaml new file mode 100644 index 0000000..55d8318 --- /dev/null +++ b/bench/hie.yaml @@ -0,0 +1,3 @@ +cradle: + stack: + component: mcsp-algorithms:bench:bench diff --git a/hie.yaml b/hie.yaml index 416873d..d8da8a3 100644 --- a/hie.yaml +++ b/hie.yaml @@ -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 diff --git a/test/hie.yaml b/test/hie.yaml new file mode 100644 index 0000000..90f8ded --- /dev/null +++ b/test/hie.yaml @@ -0,0 +1,3 @@ +cradle: + stack: + component: mcsp-algorithms:test:spec