From 266f9ca2432b091aec172bb2a046655e8e6329f9 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Fri, 24 Apr 2020 11:21:55 -0400 Subject: [PATCH] Globs need to resolve to cabal files, not folders containing them, #383. --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 943e4504..b0b8dee9 100644 --- a/README.md +++ b/README.md @@ -73,9 +73,15 @@ Note: For actually enabling continuous integration for a GitHub hosted project, $ haskell-ci cabal.project --output .travis.yml ``` - The `haskell-ci` tool looks at the `Tested-With` line in your - `*.cabal` files and generates a Travis build that tests each compiler - version you listed in parallel. + The `haskell-ci` tool looks at the `Tested-With` line in your `*.cabal` + files and generates a Travis build that tests each compiler version you + listed in parallel. While `cabal-install` accepts globs in the project + resolving to folders, for `haskell-ci` these need to resolve to cabal + files. + + ```diff + -- packages: */*.cabal ../{foo,bar}/ + ++ packages: */*.cabal ../{foo,bar}/*.cabal * Step 5: Create a branch with your new Travis file and push your branch: