aboutsummaryrefslogtreecommitdiff
path: root/lib/Distribution/Helper.hs
Commit message (Collapse)AuthorAgeFilesLines
* Shortcut helper compilation when Cabal version is already availableDaniel Gröber2019-02-091-20/+29
| | | | | This is mostly an optimization for Nix which already sets up the environment correctly, so we should reward its users :)
* Add log-level to verbosity conditionalDaniel Gröber2019-01-301-6/+10
|
* Fix ghc-pkg guessing logic when using v2-installDaniel Gröber2019-01-301-5/+7
|
* Fix getHelperExe not using correct stack programsLuke Lau2019-01-261-39/+42
| | | | | In turn fixes errors when building cabal-helper exe for stack projects where the resolver uses a different ghc version than system.
* Add support and test coverage for mulit-pkg projectsDaniel Gröber2019-01-261-39/+67
|
* CommentsDaniel Gröber2019-01-221-5/+4
| | | | [ci skip]
* Reintroduce type conventions: s/proj_type/pt/ s/cache/c/Daniel Gröber2019-01-221-0/+15
|
* Fix warningDaniel Gröber2019-01-221-1/+1
|
* Add 'uComponentName' queryDaniel Gröber2019-01-221-0/+1
|
* Add helper compilation time to debug outputDaniel Gröber2019-01-221-0/+7
|
* Refactor Compile (for v2-install)Daniel Gröber2019-01-221-10/+14
|
* Move Shared.Sandbox module to Compiletime.Daniel Gröber2019-01-221-3/+3
|
* Implement `compilerVersion`Daniel Gröber2019-01-221-15/+26
|
* Rename helper command: s/compiler-version/compiler-id/Daniel Gröber2019-01-221-2/+2
|
* Include package.yaml in Unit modification times for Stack projectsDaniel Gröber2019-01-221-10/+18
|
* Allow v2-build projects to not have a cabal.project fileDaniel Gröber2019-01-221-12/+6
|
* s/v2-build/new-build/Daniel Gröber2019-01-221-1/+1
|
* Implement behaviour for cabal new-* (#61)Sebastian Wild2019-01-221-12/+15
| | | | | Add list of components to Unit data type to handle v2 based builds per cabal unit.
* Fix getProjConfModTime: allow missing *.project.{local,freeze} filesDaniel Gröber2018-10-271-3/+10
|
* Split up Compile.hs into multiple modulesDaniel Gröber2018-10-271-58/+4
|
* Add some commentsDaniel Gröber2018-10-271-1/+7
|
* Whitespace changesDaniel Gröber2018-10-271-2/+2
|
* Suport using Stack's built-in GHC to build the helperDaniel Gröber2018-10-271-49/+35
|
* Refactor Unit handlingDaniel Gröber2018-10-271-190/+226
|
* Add package-id unit-queryDaniel Gröber2018-10-271-4/+5
|
* Remove unused importDaniel Gröber2018-10-271-1/+0
|
* Add 'allUnits' convenience queryDaniel Gröber2018-10-271-1/+6
|
* Add stack supportDaniel Gröber2018-10-271-154/+46
|
* Start refactoring to support cabal v2-buildDaniel Gröber2018-10-271-349/+525
|
* Remove wrapper, integrate functionality into the libraryDaniel Gröber2018-08-261-196/+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-2/+2
|
* Add package name and description to license headersDaniel Gröber2018-08-131-1/+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-1/+1
|
* Add Cabal 2.4 supportDaniel Gröber2018-08-121-2/+4
|
* Fix libexec path guessing when using new-build againDaniel Gröber2018-08-121-2/+6
|
* Fix libexec path guessing when using new-buildDaniel Gröber2018-06-171-19/+74
|
* Remove package license queryDaniel Gröber2018-01-181-8/+0
|
* WIP on addressing review issuesAlan Zimmerman2018-01-181-1/+1
| | | | | Still need clarity on best way of adding the local package db when it is needed and exists.
* Progress on when to build and when notAlan Zimmerman2018-01-181-0/+1
|
* Bring in needsBuildOuput query, for indefinite modulesAlan Zimmerman2018-01-181-8/+16
|
* Fix lib with GHC<7.10Daniel Gröber2017-09-281-2/+2
|
* Move split source into src/ and lib/Daniel Gröber2017-09-281-0/+527