This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 27 Dec, 2018 3 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Add LibraryVisibility to InstalledPackageInfo
-
- 26 Dec, 2018 1 commit
-
-
Francesco Gazzetta authored
This patch only modifies the datatype. The field is not filled with the correct visibility info yet. A ghc-pkg compiled with this patch is needed to actually record this information and properly test the visibility checks.
-
- 25 Dec, 2018 1 commit
-
-
Mikhail Glushenkov authored
Add `--lib`, `--exe`, and `--libandexe` shorthands to cabal init.
-
- 18 Dec, 2018 1 commit
-
-
Herbert Valerio Riedel authored
-
- 17 Dec, 2018 5 commits
-
-
Oleg Grenrus authored
Add runParsecParser', which takes CabalSpecVersion
-
Oleg Grenrus authored
Use FieldName in FieldGrammar.FieldDescrs
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
Oleg Grenrus authored
-
- 16 Dec, 2018 7 commits
-
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Add showFields-prime
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Introduce Distribution.Fields module namespace
-
Oleg Grenrus authored
-
Oleg Grenrus authored
Split fields related functionality out of `Distribution.Parsec` namespace which is not left only to handle "scalar" values. This separation highlights that we use `parsec` for *structure* (think JSON), and the *values* of the fields (think e.g. dates in JSON). - New top-level `Distribution.Fields` and `Distribution.Parsec` modules should include most things most people would need. - Also `Distribution.Pretty.Field` is moved to `Distribution.Fields.Pretty`, as now it has proper place. - The commit is moving things around and fixing compilation errors. - I fixed `cabal check` parse error printing as I was nearby.
-
Oleg Grenrus authored
Add rules to run tests via "make parser-tests" etc
-
- 15 Dec, 2018 3 commits
-
-
Oleg Grenrus authored
Add hacked the --cwd argument parsing to parser-tests and check-tests. It's a kludge but it's good enough.
-
Oleg Grenrus authored
Make hackage-tests parallel. Resolves #5736
-
Oleg Grenrus authored
-
- 08 Dec, 2018 2 commits
-
-
Matt Renaud authored
[ci skip]
-
Matt Renaud authored
-
- 06 Dec, 2018 1 commit
-
-
Zejun Wu authored
-
- 05 Dec, 2018 16 commits
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
Solver: Improve error message by finding a minimal conflict set (issue #5647).
-
Mikhail Glushenkov authored
-
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.
-
kristenk authored
-
kristenk authored
-
kristenk authored
-
kristenk authored
Sometimes, rerunning the solver to remove one variable from the conflict set also removes other variables. This commit checks whether each variable is still present in the conflict set before trying to remove it, which can save expensive solver reruns.
-
kristenk authored
-
kristenk authored
-
kristenk authored
Minimizing the conflict set requires rerunning the solver multiple times, which can be time consuming. This commit adds a flag, --minimize-conflict-set, that defaults to false. We should probably add a way to limit the total run time before turning the feature on by default, such as applying the backjump limit to the combined solver runs.
-