Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move CabalVersion and related types into a new module | Daniel Gröber | 2020-05-02 | 1 | -1/+3 |
| | |||||
* | Fix cabal projects using source-repository-package | Daniel Gröber | 2020-05-02 | 1 | -24/+23 |
| | | | | | | | | | | | Apparently we can get source-repo-packages in plan.json even when filtering for `"style": "local"`(`UnitTypeLocal`). It's possible the root cause here is a cabal bug as source-repository-package should really be treated more like a tarball than a local package. Regardless we simply filter units by actually checking for `uPkgSrc=Just LocalUnpackedPackage` instead of relying on "style". This fixes #99 | ||||
* | Run v2-install in '/' instead of /tmp | Daniel Gröber | 2020-05-01 | 1 | -2/+1 |
| | | | | See #89 | ||||
* | Explicitly state package in component | Luke Lau | 2019-11-27 | 1 | -2/+2 |
| | | | | | | | This fixes scenarios such as: cabal: Ambiguous target 'test:foo'. It could be: A:test:foo (component) B:test:foo (component) | ||||
* | Change license to Apache2 | Daniel Gröber | 2019-09-29 | 1 | -11/+6 |
| | | | | | | | | All contributors have agreed on public record at https://github.com/DanielG/cabal-helper/issues/76 Fixes #76 | ||||
* | Fix "Installing lib:Cabal" message | Daniel Gröber | 2019-09-17 | 1 | -1/+1 |
| | |||||
* | Implement cabal v2 backpack unit workaround | Daniel Gröber | 2019-09-17 | 1 | -7/+34 |
| | | | | See https://github.com/haskell/cabal/issues/6201 for details about the bug | ||||
* | Break cycle between 'Package' and 'Unit' | Daniel Gröber | 2019-09-17 | 1 | -1/+3 |
| | |||||
* | Add exported interface for running build-tools | Daniel Gröber | 2019-09-17 | 1 | -1/+32 |
| | |||||
* | Introduce Package abstracton | Daniel Gröber | 2019-09-17 | 1 | -37/+61 |
| | | | | | After lamenting the fact that we don't have this in the docs I figured it really ought to be an exposed abstraction. | ||||
* | Refactor ProjType to be more inductive | Daniel Gröber | 2019-09-17 | 1 | -1/+1 |
| | | | | This allows discriminating Stack vs. Cabal at the type level more easily. | ||||
* | Allow passing override-env to process functions | Daniel Gröber | 2019-09-17 | 1 | -5/+5 |
| | | | | | Unfortunately we need this to pass a custom GHC executable path to stack, since it doesn't have an option to override it on the commandline (yet?). | ||||
* | Merge CompPrograms back into Programs | Daniel Gröber | 2019-09-17 | 1 | -7/+7 |
| | | | | | We need to support passing down the path to ghc to new-build/stack in order to support using a non-default 'ghc' executable. | ||||
* | Flesh out project discovery API | Daniel Gröber | 2019-09-17 | 1 | -1/+1 |
| | |||||
* | Bestow installCabalLibV2 with the message blub | Daniel Gröber | 2019-03-29 | 1 | -13/+19 |
| | |||||
* | Make Cabal-HEAD lib v2-build cachable | Daniel Gröber | 2019-02-14 | 1 | -8/+14 |
| | |||||
* | Add log-level to verbosity conditional | Daniel Gröber | 2019-01-30 | 1 | -7/+7 |
| | |||||
* | Fix ghc-pkg guessing logic when using v2-install | Daniel Gröber | 2019-01-30 | 1 | -1/+1 |
| | |||||
* | Add 'uComponentName' query | Daniel Gröber | 2019-01-22 | 1 | -0/+15 |
| | |||||
* | Refactor Compile (for v2-install) | Daniel Gröber | 2019-01-22 | 1 | -30/+77 |
| | |||||
* | Fix wrong target-selector syntax for v2-build | Daniel Gröber | 2019-01-22 | 1 | -1/+3 |
| | |||||
* | Implement behaviour for cabal new-* (#61) | Sebastian Wild | 2019-01-22 | 1 | -1/+6 |
| | | | | | Add list of components to Unit data type to handle v2 based builds per cabal unit. | ||||
* | Split up Compile.hs into multiple modules | Daniel Gröber | 2018-10-27 | 1 | -0/+209 |