Skip to content

Commit

Permalink
Globs need to resolve to cabal files, not folders containing them, ha…
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Apr 24, 2020
1 parent eb107ae commit 266f9ca
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 266f9ca

Please sign in to comment.