aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Compile.hs
Commit message (Collapse)AuthorAgeFilesLines
* Change license to Apache2Daniel Gröber2019-09-291-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 compileHelperDaniel Gröber2019-09-171-6/+0
|
* Add TODO about user-ghc-environment supportDaniel Gröber2019-09-171-0/+5
|
* Fix indentDaniel Gröber2019-02-141-1/+1
| | | | [ci skip]
* Make Cabal-HEAD lib v2-build cachableDaniel Gröber2019-02-141-11/+23
|
* Some helper compilation test coverage commentsDaniel Gröber2019-02-111-0/+2
| | | | [ci skip]
* Fix SomeException swallowing in compileWithCabalV2GhcEnvDaniel Gröber2019-01-301-2/+2
|
* compile: v2-install --libs needs GHC >=8.0Daniel Gröber2019-01-261-0/+1
|
* CopyeditingDaniel Gröber2019-01-221-2/+2
| | | | [skip ci]
* Make most record fields strictDaniel Gröber2019-01-221-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 outputDaniel Gröber2019-01-221-0/+6
|
* Refactor Compile (for v2-install)Daniel Gröber2019-01-221-84/+174
|
* Move Shared.Sandbox module to Compiletime.Daniel Gröber2019-01-221-1/+2
|
* Fix compBuildDir isolation bugDaniel Gröber2019-01-221-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 modulesDaniel Gröber2018-10-271-403/+10
|
* Fix listCabalVersions logic bugDaniel Gröber2018-10-271-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 helperDaniel Gröber2018-10-271-17/+18
|
* Refactor Unit handlingDaniel Gröber2018-10-271-27/+28
|
* Start refactoring to support cabal v2-buildDaniel Gröber2018-10-271-33/+37
|
* Include source hash in helper binary output pathDaniel Gröber2018-10-261-18/+18
|
* Remove wrapper, integrate functionality into the libraryDaniel Gröber2018-08-261-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 addressDaniel Gröber2018-08-131-1/+1
|
* Add package name and description to license headersDaniel Gröber2018-08-131-0/+1
|
* Downgrade license from AGPLv3 to regular GPLv3Daniel Gröber2018-08-131-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 wrapperDaniel Gröber2018-08-121-32/+69
|
* ci: Limit compile-test build concurrencyDaniel Gröber2018-06-171-4/+10
|
* Use `-j` when building Cabal HEADDaniel Gröber2018-04-161-0/+1
|
* Refactor 'compileHelper' to cache helper in all casesDaniel Gröber2018-01-181-91/+112
|
* Fix and refactor CH.C.CompileDaniel Gröber2018-01-181-102/+165
| | | | ..compilation outputs were landing in CWD
* Make PackageDbDir newtype accessor more conventionalDaniel Gröber2018-01-181-2/+2
|
* Refactor to introduce Cabal version typeDaniel Gröber2018-01-181-52/+56
|
* Support using act-as-setup with c-i >=1.24Daniel Gröber2017-10-041-16/+27
|
* Move 'trim' to commonDaniel Gröber2017-10-041-3/+0
|
* Move split source into src/ and lib/Daniel Gröber2017-09-281-0/+595