Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add exported interface for running build-tools | Daniel Gröber | 2019-09-17 | 1 | -1/+1 |
| | |||||
* | Introduce Package abstracton | Daniel Gröber | 2019-09-17 | 1 | -2/+2 |
| | | | | | After lamenting the fact that we don't have this in the docs I figured it really ought to be an exposed abstraction. | ||||
* | Make ChSetupEntrypoint carry the Main module file name | Daniel Gröber | 2019-09-17 | 1 | -4/+2 |
| | |||||
* | Remove crusty old helper code | Daniel Gröber | 2019-09-17 | 1 | -13/+13 |
| | | | | | | | | | | | | - Inplace component inlining really always was a nasty cludge, now that we have proper build-system support we can get rid of it. - GHC options subsets aren't really needed, we can split these up after parsing the options using the ghc library. - Dropped GHC 7.10, it seems unsupportable without the inplace component inlining, possibly a Stack/lib:Cabal bug, but it is quite old so time for it to go anyway. This is the second thing commit it was holing up too! | ||||
* | Fix ProjLoc to source directory correspondence | Daniel Gröber | 2019-09-17 | 1 | -1/+1 |
| | | | | | We cannot always assume `takeDirectory cfg_file` will be the project source directory! | ||||
* | Refactor ProjType to be more inductive | Daniel Gröber | 2019-09-17 | 1 | -9/+9 |
| | | | | 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 | -2/+2 |
| | | | | | 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 | -12/+9 |
| | | | | | We need to support passing down the path to ghc to new-build/stack in order to support using a non-default 'ghc' executable. | ||||
* | ghc-session: Print test-spec in test-results | Daniel Gröber | 2019-09-17 | 1 | -10/+22 |
| | |||||
* | ghc-session: Output test specs of tests being run | Daniel Gröber | 2019-09-17 | 1 | -2/+18 |
| | | | | | The strings under the "Going to Run These Tests" heading can be plugged right back into the commandline to run just that test. | ||||
* | ghc-session: Add GHC version match check | Daniel Gröber | 2019-09-17 | 1 | -1/+6 |
| | |||||
* | Split SProjType along build-tool line | Daniel Gröber | 2019-09-17 | 1 | -4/+4 |
| | | | | | | | 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-v1 | Daniel Gröber | 2019-09-17 | 1 | -1/+1 |
| | |||||
* | ghc-session: Allow overriding programs on commandline | Daniel Gröber | 2019-09-17 | 1 | -57/+104 |
| | |||||
* | ghc-session: Improve test output consistency | Daniel Gröber | 2019-06-19 | 1 | -29/+61 |
| | |||||
* | ghc-session: Simplify Cabal version checking | Daniel Gröber | 2019-06-19 | 1 | -12/+12 |
| | |||||
* | ci: Move stack resolver table to a file | Daniel Gröber | 2019-06-19 | 1 | -12/+5 |
| | |||||
* | Add ProjLocV1Dir for easier forward porting | Daniel Gröber | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | Promote 'Ex' to exported API | Daniel Gröber | 2019-03-31 | 1 | -2/+0 |
| | | | | We will need it for the project discovery module later. | ||||
* | Add accessor for ChModuleName newtype | Daniel Gröber | 2019-03-29 | 1 | -3/+0 |
| | |||||
* | Some helper compilation test coverage comments | Daniel Gröber | 2019-02-11 | 1 | -0/+4 |
| | | | | [ci skip] | ||||
* | ghc-session: Get correct builtin Cabal version per proj-type | Daniel Gröber | 2019-02-11 | 1 | -48/+89 |
| | |||||
* | Add log-level to verbosity conditional | Daniel Gröber | 2019-01-30 | 1 | -2/+2 |
| | |||||
* | ghc-session: Run V2 tests first to get faster build times | Daniel Gröber | 2019-01-26 | 1 | -3/+3 |
| | | | | | | We cache the produced helper exe without regard to which proj-type produced it, so this way we avoid building the helper exe (and it's dependencies) with cabal v1-build which doesn't cache across CI builds. | ||||
* | Update stack_resolver_table | Daniel Gröber | 2019-01-26 | 1 | -8/+11 |
| | |||||
* | Add support and test coverage for mulit-pkg projects | Daniel Gröber | 2019-01-26 | 1 | -128/+324 |
| | |||||
* | Add descriptions to the tests | Daniel Gröber | 2019-01-22 | 1 | -0/+5 |
| | |||||
* | ghc-session: Refactor in preparation for Stack tests | Daniel Gröber | 2019-01-22 | 1 | -43/+54 |
| | |||||
* | Allow v2-build projects to not have a cabal.project file | Daniel Gröber | 2019-01-22 | 1 | -4/+0 |
| | |||||
* | Run tests against both old and new build configurations | Alan Zimmerman | 2019-01-22 | 1 | -16/+83 |
| | |||||
* | Add some comments | Daniel Gröber | 2018-10-27 | 1 | -2/+3 |
| | |||||
* | Refactor Unit handling | Daniel Gröber | 2018-10-27 | 1 | -14/+18 |
| | |||||
* | Add 'allUnits' convenience query | Daniel Gröber | 2018-10-27 | 1 | -5/+1 |
| | |||||
* | tests: Ignore `cabal sdist` warnings | Daniel Gröber | 2018-10-27 | 1 | -1/+1 |
| | |||||
* | Start refactoring to support cabal v2-build | Daniel Gröber | 2018-10-27 | 1 | -10/+14 |
| | |||||
* | Drop Cabal<2.0 compiletime support | Daniel Gröber | 2018-06-16 | 1 | -27/+20 |
| | | | | | We still support <2.0 at runtime this only concerns the Cabal version used at cabal-install time. | ||||
* | Revert hsSourceDirs hackery (#43) | Alan Zimmerman | 2018-01-29 | 1 | -1/+13 |
| | | | Move hack to GhcSession test for now, the corresponding logic should be moved into c-h instead of living in ghc-mod instead. | ||||
* | ghc-session: Factor out CPP | Daniel Gröber | 2018-01-18 | 1 | -5/+7 |
| | |||||
* | When a component uses an internal backpack module, use cabal opts | Alan Zimmerman | 2018-01-18 | 1 | -6/+2 |
| | | | | Which includes inserting the inplace directory for package includes | ||||
* | WIP on addressing review issues | Alan Zimmerman | 2018-01-18 | 1 | -4/+2 |
| | | | | | Still need clarity on best way of adding the local package db when it is needed and exists. | ||||
* | Clean up | Alan Zimmerman | 2018-01-18 | 1 | -10/+5 |
| | |||||
* | Remove extraneous imports | Alan Zimmerman | 2018-01-18 | 1 | -10/+0 |
| | |||||
* | Tests pass for backpack | Alan Zimmerman | 2018-01-18 | 1 | -0/+11 |
| | |||||
* | Progress on when to build and when not | Alan Zimmerman | 2018-01-18 | 1 | -28/+37 |
| | |||||
* | Bring in needsBuildOuput query, for indefinite modules | Alan Zimmerman | 2018-01-18 | 1 | -23/+30 |
| | |||||
* | WIP on backpack support | Alan Zimmerman | 2018-01-18 | 1 | -9/+23 |
| | |||||
* | Saner way to merge entrypoints | Alan Zimmerman | 2018-01-18 | 1 | -1/+1 |
| | |||||
* | ghc-session: Add backpack test project | Daniel Gröber | 2018-01-18 | 1 | -0/+1 |
| | |||||
* | ghc-session: Make tests fail on warnings | Daniel Gröber | 2018-01-18 | 1 | -2/+5 |
| | |||||
* | ghc-session: Add flib test | Daniel Gröber | 2018-01-18 | 1 | -0/+1 |
| |