Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add .exe in win to cabal-helper executable | jneira | 2020-05-20 | 1 | -2/+2 |
| | |||||
* | Refactor Program versions handling | Daniel Gröber | 2020-05-10 | 1 | -2/+2 |
| | | | | | | This mainly renames the program version getters to get* and make them consistenly return Version directly. Such that wrappers like GhcVersion have to be added at the callsites of the relevant functions. | ||||
* | Only pass pjUnits to compile module instead of whole PlanJson | Daniel Gröber | 2020-05-02 | 1 | -4/+5 |
| | |||||
* | Fix Cabal version selection for build-type:Custom | Daniel Gröber | 2020-05-02 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | Previously we would pick up Stack's Cabal version with ghc-pkg on the global package-db. This however ignores that Stack also supports custom Setup.hs with the Cabal version from the snapshot instead. In cabal v2-build we have a similar problem. We used to assume that plan.json's cabal-lib-version is used uniformly across units but this is similarly untrue. To fix both of these we re-stage the cabal version query to after reconfiguring a unit, then we can just lookup the Cabal version in setup-config. Fixes #95 | ||||
* | Move CabalVersion and related types into a new module | Daniel Gröber | 2020-05-02 | 1 | -0/+1 |
| | |||||
* | Revert "Fix Cabal version selection for Stack (esp. build-type:Custom)" | Daniel Gröber | 2020-02-11 | 1 | -6/+6 |
| | | | | This reverts commit 04c2d34f1874bc198288d33c784bc26f89280ee2. | ||||
* | Fix Cabal version selection for Stack (esp. build-type:Custom) | Daniel Gröber | 2020-01-11 | 1 | -6/+6 |
| | | | | | | Previously we would pick up Stack's Cabal version with ghc-pkg on the global package-db. This however ignores that Stack also supports custom Setup.hs with the Cabal version from the snapshot instead. | ||||
* | 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 | ||||
* | Remove redundant timing code for compileHelper | Daniel Gröber | 2019-09-17 | 1 | -6/+0 |
| | |||||
* | Add TODO about user-ghc-environment support | Daniel Gröber | 2019-09-17 | 1 | -0/+5 |
| | |||||
* | Fix indent | Daniel Gröber | 2019-02-14 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Make Cabal-HEAD lib v2-build cachable | Daniel Gröber | 2019-02-14 | 1 | -11/+23 |
| | |||||
* | Some helper compilation test coverage comments | Daniel Gröber | 2019-02-11 | 1 | -0/+2 |
| | | | | [ci skip] | ||||
* | Fix SomeException swallowing in compileWithCabalV2GhcEnv | Daniel Gröber | 2019-01-30 | 1 | -2/+2 |
| | |||||
* | compile: v2-install --libs needs GHC >=8.0 | Daniel Gröber | 2019-01-26 | 1 | -0/+1 |
| | |||||
* | Copyediting | Daniel Gröber | 2019-01-22 | 1 | -2/+2 |
| | | | | [skip ci] | ||||
* | Make most record fields strict | Daniel Gröber | 2019-01-22 | 1 | -8/+8 |
| | | | | | This lets GHC give better error messages when forgetting to initialize a field when using the `let field = _ in DataType{..}` RecordWildcards syntax. | ||||
* | Add helper compilation time to debug output | Daniel Gröber | 2019-01-22 | 1 | -0/+6 |
| | |||||
* | Refactor Compile (for v2-install) | Daniel Gröber | 2019-01-22 | 1 | -84/+174 |
| | |||||
* | Move Shared.Sandbox module to Compiletime. | Daniel Gröber | 2019-01-22 | 1 | -1/+2 |
| | |||||
* | Fix compBuildDir isolation bug | Daniel Gröber | 2019-01-22 | 1 | -1/+1 |
| | | | | | In f071b83fd8 (Include source hash in helper binary output path) we accidentally removed the GHC/Cabal version numbers previously included in this path. | ||||
* | Split up Compile.hs into multiple modules | Daniel Gröber | 2018-10-27 | 1 | -403/+10 |
| | |||||
* | Fix listCabalVersions logic bug | Daniel Gröber | 2018-10-27 | 1 | -12/+10 |
| | | | | | The 'mdb' argument is supposed to be interpreted as "use the global db" when it's 'Nothing'. | ||||
* | Suport using Stack's built-in GHC to build the helper | Daniel Gröber | 2018-10-27 | 1 | -17/+18 |
| | |||||
* | Refactor Unit handling | Daniel Gröber | 2018-10-27 | 1 | -27/+28 |
| | |||||
* | Start refactoring to support cabal v2-build | Daniel Gröber | 2018-10-27 | 1 | -33/+37 |
| | |||||
* | Include source hash in helper binary output path | Daniel Gröber | 2018-10-26 | 1 | -18/+18 |
| | |||||
* | Remove wrapper, integrate functionality into the library | Daniel Gröber | 2018-08-26 | 1 | -147/+169 |
| | | | | | | | | | | | | The use of a wrapper executable to compile the real helper was a design mistake originally intended to isolate the calling application from a dependency on the Cabal library completely. This isolation turned out to be rather tedious and thus was ignored soon, the wrapper remained though. Due to the way cabal-install installs components of a package into seperate install trees when using new-install finding the wrapper exe reliably has become pretty much impossible without huge effort. Hence we remove it and integrate the functionality into the library instead. | ||||
* | Change maintainer email address | Daniel Gröber | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | Add package name and description to license headers | Daniel Gröber | 2018-08-13 | 1 | -0/+1 |
| | |||||
* | Downgrade license from AGPLv3 to regular GPLv3 | Daniel Gröber | 2018-08-13 | 1 | -5/+5 |
| | | | | | | | | | | | | | | There are only 8 commits in cabal-helper not by me or alanz, see: $ git log --author='Daniel Gröber\|Alan Zimmerman' --invert-grep -p 9142d8a9e6ed18faf17a360521fbbbd25f6a3b47 Alan Zimmerman has agreed to the license change on IRC. The rest are IMO uncopyrightable. I'm pretty sure version-bounds are "facts" which are inherently uncopyrightable, i.e. the software builds with this and that version, that's a fact. Simple build fixes such as ae568d10 and eb178a5b shouldn't really cross the necessary creative threshold. | ||||
* | Add initial new-build (v2-build) support to wrapper | Daniel Gröber | 2018-08-12 | 1 | -32/+69 |
| | |||||
* | ci: Limit compile-test build concurrency | Daniel Gröber | 2018-06-17 | 1 | -4/+10 |
| | |||||
* | Use `-j` when building Cabal HEAD | Daniel Gröber | 2018-04-16 | 1 | -0/+1 |
| | |||||
* | Refactor 'compileHelper' to cache helper in all cases | Daniel Gröber | 2018-01-18 | 1 | -91/+112 |
| | |||||
* | Fix and refactor CH.C.Compile | Daniel Gröber | 2018-01-18 | 1 | -102/+165 |
| | | | | ..compilation outputs were landing in CWD | ||||
* | Make PackageDbDir newtype accessor more conventional | Daniel Gröber | 2018-01-18 | 1 | -2/+2 |
| | |||||
* | Refactor to introduce Cabal version type | Daniel Gröber | 2018-01-18 | 1 | -52/+56 |
| | |||||
* | Support using act-as-setup with c-i >=1.24 | Daniel Gröber | 2017-10-04 | 1 | -16/+27 |
| | |||||
* | Move 'trim' to common | Daniel Gröber | 2017-10-04 | 1 | -3/+0 |
| | |||||
* | Move split source into src/ and lib/ | Daniel Gröber | 2017-09-28 | 1 | -0/+595 |