This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Dec 05, 2018
-
-
Mikhail Glushenkov authored
Fix `--with-compiler` failing to locate compiler on Windows
-
Mikhail Glushenkov authored
pass --host=$HOST to configure when cross-compiling
-
Mikhail Glushenkov authored
Make v2-test succeed when no test suites found
-
Mikhail Glushenkov authored
Automatically pass -x to hsc2hs when cross-compiling
-
Matt Renaud authored
-
Matt Renaud authored
This changes the default behaviour to succeed when no test suites are found. The old behaviour can be achieved by passing --test-fail-when-no-test-suites. Sessions with new changes: $ cabal v2-test Resolving dependencies... No tests to run for the package initsample-0.1.0.0 $ cabal v2-test --test-fail-when-no-test-suites Resolving dependencies... cabal: Cannot run tests for the target '' which refers to the package initsample-0.1.0.0 because it does not contain any test suites.
-
- Dec 04, 2018
-
-
Oleg Grenrus authored
Remove unix constraint from cabal.project (forward port)
-
Oleg Grenrus authored
Spec changes 3.0 [docs]
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
vanessamchale authored
-
vanessamchale authored
-
vanessamchale authored
-
Mikhail Glushenkov authored
Fix checkRelocatable for deps when prefix is not subdir of pkgroot
-
Oleg Grenrus authored
Make all or none commas in optional comma lists
-
Oleg Grenrus authored
- Add bunch of installed constraints to cabal.project.local.travis - Fix compat in D.Compat.Directory - Compat (process-1.1/ghc-7.6) in cabal-testsuite - validate.sh improvements - Warningless cabal-testsuite build
-
Mikhail Glushenkov authored
[WIP] Port Travis fixes from the 2.4 branch
-
Oleg Grenrus authored
-
Oleg Grenrus authored
PoC: If import
-
Matt Renaud authored
This flag changes the exit behaviour of the v2-test command when the TargetProblem is that no tests were found. By default, this will result in 'cabal v2-test' returning 1, with the flag enabled it now prints a friendlier error message and returns 0.
-
Zejun Wu authored
Closes #4291
-
- Dec 03, 2018
-
-
Remove unix constraint from cabal.project (cherry picked from commit 6797a9e5)
-
Oleg Grenrus authored
- Warn about missplaced import (on top level) - Warn in trees
-
Mikhail Glushenkov authored
-
cabal-install-2.4 doesn't build anymore w/ GHC 7.8 and older; so the metadata revision took care to fixup the lower bound of base and other boot libs to take the versions bundled w/ GHC 7.10.1 as the lower bounds. Moreover, this also fixes some upper bounds not being PVP compliant. (cherry picked from commit 0ba16f5c)
-
Oleg Grenrus authored
Remove fields in cabal spec 3.0
-
Oleg Grenrus authored
- extensions - (singular) hs-source-dir - build-tools Example, with `cabal-version: 2.5` ``` [laptop] tree-diff % cabal new-build --dry Errors encountered when parsing cabal file ./tree-diff.cabal: tree-diff.cabal:59:3: error: The field "extensions" is removed in the Cabal specification version 2.5. Please use 'default-extensions' or 'other-extensions' fields. 58 | library 59 | extensions: CPP | ^ tree-diff.cabal:60:3: error: The field "extensions" is removed in the Cabal specification version 2.5. Please use 'default-extensions' or 'other-extensions' fields. 59 | extensions: CPP 60 | extensions: DeriveGeneric | ^ ``` I needed to add new CabalSpecVersion to properly issue deprecation messages of `extensions`.
-
Oleg Grenrus authored
Add Distribution.Pretty.Field
-
Oleg Grenrus authored
- and it's little cousin fromParsecFields, - Also test that `showFields . fromParsecFields . readFields` roundtrips on Hackage Corpus
-
Oleg Grenrus authored
Something to do: Go from Parsec.Field to Pretty.Field directly, that's may be useful for some tools
-
- Dec 02, 2018
-
-
Emily Pillmore authored
Fix Incorrect `tar.gz` Extension
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Emily Pillmore authored
-
Oleg Grenrus authored
Refactor options fields to use PerCompilerFlavor type
-
- Dec 01, 2018
-
-
Emily Pillmore authored
Remove support for `.zip` format source distributions
-
Emily Pillmore authored
-
Mikhail Glushenkov authored
Add 'SimplePackage' package type for `cabal init`
-
Emily Pillmore authored
-