From 687308a8f69154ac6141acfa182c6c74f0f46338 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Tue, 31 May 2022 15:10:14 +0100 Subject: [PATCH] hello-world-ui-test: specify empty library due to cabal bug Since we are making the Haskell code just to test a Purescript project, we have ended up with no library or executable in the cabal file, which means we have to specify a null one. https://github.com/haskell/cabal/issues/6750 --- .../test/selenium/hello-world-ui-selenium-test.cabal | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/offchain/hello-world-ui/test/selenium/hello-world-ui-selenium-test.cabal b/offchain/hello-world-ui/test/selenium/hello-world-ui-selenium-test.cabal index 5828dca8..1bd3b023 100644 --- a/offchain/hello-world-ui/test/selenium/hello-world-ui-selenium-test.cabal +++ b/offchain/hello-world-ui/test/selenium/hello-world-ui-selenium-test.cabal @@ -2,6 +2,10 @@ cabal-version: 2.4 name: hello-world-ui-selenium-test version: 0.1.0.0 +-- Cabal bug requires us to specify empty library +-- https://github.com/haskell/cabal/issues/6750 +library + test-suite sydtest-webdriver default-language: Haskell2010 type: exitcode-stdio-1.0