This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 01 Feb, 2023 2 commits
-
-
mergify[bot] authored
testuite: doctest: move to ghcup-recommended ghc
-
Artem Pelenitsyn authored
-
- 29 Jan, 2023 1 commit
-
-
Bas Laarakker authored
* Fix cabal init should not suggest Cabal < 2.0 * Remove + symbol cabal-version 2.0
-
- 24 Jan, 2023 2 commits
-
-
Mikolaj Konarski authored
elim warning spam from #8500
-
Gershom Bazerman authored
-
- 23 Jan, 2023 2 commits
-
-
fendor authored
* Fix cli list parse errors in `cabal init` Occurrences of `Flag [a]` behave in a slightly unexpected way. The monoid instance of `Flag` is right associative and discard the value on the left. Thus, make sure we merge the contents of the flags, instead of using the monoid instance of `Flag` itself. * Document fixes and improvements Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Pierre Le Marre authored
* cabal check: Warn if expected files are omitted from extra-doc-files * Add test * Add missing files and their hackage’s reference * Move doc file check from checkPackageContent to checkPackageFilesPreDistribution * Check based on globs only Check only globs, not the filesystem. * Update test outputs * Make check more robust to relative paths * Fix tests failing with "Distribution quality warnings" * Fix comments and changelog [skip ci] * Test changelog only if present * Revert "Update test outputs" This reverts commit ce49487d804691f77aff38b89449c2d0f09dbd44. * Revert "Fix tests failing with "Distribution quality warnings"" This reverts commit 705f6bd0144057f5c1d375f9eceb90645b218a88. * Fix changelog * Remove getGlobFiles * Adapt warnings to version 1.12 Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 22 Jan, 2023 4 commits
-
-
mergify[bot] authored
Fix #8664 redux: add EOL character to list-bin output
-
andreas.abel authored
-
fendor authored
-
Sylvain Henry authored
* Add support for js-sources * Add changelog * Add comment about C-like sources * Add tests * Fix test * Fix skipUnless and factorize * Fix skipIfGhcVersion
-
- 21 Jan, 2023 3 commits
-
-
mergify[bot] authored
Bump known ghc versions in cabal library to < 9.8
-
Mikolaj Konarski authored
-
Sergey Vinokurov authored
* Remove unused binding * Add failing test * Resolve import from relative paths within cabal.project * Add expected test output * Add changelog * Remove unused imports Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 20 Jan, 2023 4 commits
-
-
mergify[bot] authored
Fix build instructions in CONTRIBUTING.md for people with old cabal
-
Mikolaj Konarski authored
-
mergify[bot] authored
Add support for the -fprof-late flag new in 9.4
-
Andreas Klebinger authored
-
- 19 Jan, 2023 2 commits
-
-
mergify[bot] authored
TargetSelector: Include a hint in the error message for internal error
-
Jade Lovelace authored
This is a mediocre solution, and really should generate a different error entirely at an earlier stage, but I'm not familiar enough with how to achieve that.
-
- 18 Jan, 2023 1 commit
-
-
Paweł Dybiec authored
* Add check for recursive glob in root directory Such globs might be expensive to include, as they might pull unnecessary directories just like `.git` or `dist-newstyle`. * Move expensive glob warning to its own constructor * Add changelog entry * Add test for recursive glob warning * Fix formatting
-
- 16 Jan, 2023 5 commits
-
-
mergify[bot] authored
cabal-testsuite #8401: communicate better the need for `--with-cabal`
-
andreas.abel authored
- Add caveat to `--help` text. - Put `--with-cabal` into very first example in README.
-
andreas.abel authored
-
andreas.abel authored
Rather than obfuscating by sprinkling in a fully qualified reference to `<>` when unqualified references also work, limit the import of `Data.Monoid.<>` with a suitable CPP.
-
andreas.abel authored
* Fix #8400 by marking output of `cabal list-bin` The regular output of `cabal list-bin` should go to stdout always, but be marked for the sake of the testsuite. * Make test Windows-compatible Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 14 Jan, 2023 2 commits
-
-
mergify[bot] authored
Re #6125: document that glob dirs are buggy in Cabal 2.4
-
andreas.abel authored
`cabal-version: 2.4` allows e.g. `data-files: foo/**/*.txt` but `**` directories are only handled correctly since Cabal 3.0 (issue #6125). This information should be part of the cabal file format history documentation.
-
- 12 Jan, 2023 1 commit
-
-
mergify[bot] authored
Add since pragma for ppOrdering
-
- 09 Jan, 2023 1 commit
-
-
Bodigrim authored
-
- 07 Jan, 2023 1 commit
-
-
gershomb authored
* prepend rather than append extra prog path * changelog * test * skip on windows * update test * fix test * reenable windows skip * Update setup.test.hs Co-authored-by:
Gershom Bazerman <gershom@arista.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 06 Jan, 2023 1 commit
-
-
gershomb authored
* don't send non-extant extra-lib-dirs to ghc #6492 * changelog Co-authored-by:
Gershom Bazerman <gershom@arista.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 05 Jan, 2023 2 commits
-
-
Sergey Vinokurov authored
* Add changelog entry * Add test * Remove "'-main-is' is not portable" check * Fix test Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
andreas.abel authored
* Fix #8654: no assertion warning on special modes (help, version, etc.) This patch moves the `warnIfAssertionsAreEnabled` until after the main command line argument parsing, and then only prints it on regular operation, i.e. not when just the help or version of cabal was demanded, or the command line could not be parsed. Further, the warning is printed on stderr. The previous attempt to use `warn` does not work as expected, as the verbosity aperatshnik isn't in place yet, so the warning cannot be suppressed by -v0. Drive-by-shooting: straighten the convoluted control flow involving `maybeScriptAndArgs`. This IO computation was invoked "brutto" before, when it is actually only needed in *one* branch of the case distinction. * PR #8647: changelog, fix text of warning Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 04 Jan, 2023 3 commits
-
-
gershomb authored
* don't create a cache directory when the compiler isn't configured * Update pr-8358 Co-authored-by:
Gershom Bazerman <gershom@arista.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
gershomb authored
* handle datadir flag in newbuild * fixup * exclude installDirs options from cabal install * fix tests * changelong Co-authored-by:
Gershom Bazerman <gershom@arista.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
gershomb authored
* improve install target handling logic * changelog Co-authored-by:
Gershom Bazerman <gershom@arista.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- 03 Jan, 2023 3 commits
-
-
mergify[bot] authored
Fix typo in cabal.test.hs
-
Ikko Ashimine authored
suport -> support
-
John Ericson authored
Tiny refactor of how Cabal handles configure scripts
-