aboutsummaryrefslogtreecommitdiff
path: root/lib/Distribution
Commit message (Collapse)AuthorAgeFilesLines
* Allow passing override-env to process functionsDaniel Gröber2019-09-171-9/+13
| | | | | 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 ProgramsDaniel Gröber2019-09-171-11/+6
| | | | | 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 APIDaniel Gröber2019-09-172-23/+49
|
* Update API docs of main typesDaniel Gröber2019-09-171-7/+15
|
* Split SProjType along build-tool lineDaniel Gröber2019-09-172-16/+18
| | | | | | | This makes it much easier to deal with differences between the build tools as we can now have functions that only make sense for Cabal and statically enforce this by passing a 'SCabalProjType pt' as evidence that $pt \in {V1, V2}$.
* Support cabal-file not being in pkgdir with cabal-v1Daniel Gröber2019-09-172-5/+5
|
* Start implementing Distribution.Helper.DiscoverZubin Duggal2019-09-171-2/+36
|
* Revert compilerVersion being project-scopeDaniel Gröber2019-05-271-6/+1
| | | | | Turns out the Setup header has the compiler version used to build Setup, not the version the project is configured to use.
* Fix QueryEnv not being compatible with ExDaniel Gröber2019-05-051-1/+2
|
* Fix getHelper ignoring withProgs environmentDaniel Gröber2019-04-011-4/+1
|
* Add ProjLocV1Dir for easier forward portingDaniel Gröber2019-04-011-7/+9
|
* Expose missing ChLibraryName in public APIDaniel Gröber2019-04-011-0/+1
|
* Make compilerVersion accessor project-scope for V1 projectsDaniel Gröber2019-04-011-9/+21
|
* Add skeleton for project discovery functionalityDaniel Gröber2019-03-311-0/+41
|
* Improve export list order for docsDaniel Gröber2019-03-311-1/+2
|
* Fix missing CompPrograms exportDaniel Gröber2019-03-311-1/+2
|
* Promote 'Ex' to exported APIDaniel Gröber2019-03-311-0/+1
| | | | We will need it for the project discovery module later.
* docsDaniel Gröber2019-03-291-5/+12
|
* Add demoteSProjTypeDaniel Gröber2019-02-111-0/+1
|
* 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
|