From 96b3cf09e08f4be1e9e5240916f93ac4ce48f925 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