Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 2 | -5/+5 |
| | | | | | | | 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 |
| | |||||
* | compile-test: Read cabal versions from file | Daniel Gröber | 2019-06-19 | 2 | -49/+72 |
| | | | | | This allows them to be checked for up-to-date'nes in CI like the stack-resolvers. | ||||
* | 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 | 2 | -12/+19 |
| | |||||
* | 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 | 2 | -1/+11 |
| | | | | [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 | 2 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | compile-test: Update Cabal versions and bounds to reflect reality | Daniel Gröber | 2019-01-26 | 1 | -6/+5 |
| | |||||
* | Add support and test coverage for mulit-pkg projects | Daniel Gröber | 2019-01-26 | 29 | -128/+503 |
| | |||||
* | Add example to show off cabal-helper's functionality | Daniel Gröber | 2019-01-22 | 1 | -0/+65 |
| | |||||
* | Comments | Daniel Gröber | 2019-01-22 | 1 | -1/+0 |
| | | | | [ci skip] | ||||
* | compile-test: Don't `cabal update` before tests | Daniel Gröber | 2019-01-22 | 1 | -2/+0 |
| | | | | The CI script does that anyways | ||||
* | compile-test: Only override HOME when it doesn't exist | Daniel Gröber | 2019-01-22 | 1 | -1/+10 |
| | |||||
* | Refactor Compile (for v2-install) | Daniel Gröber | 2019-01-22 | 1 | -44/+44 |
| | |||||
* | compilation-test: Let Cabal constraint fall through to latest GHC ver | Daniel Gröber | 2019-01-22 | 1 | -2/+2 |
| | |||||
* | Sync with Cabal HEAD | Daniel Gröber | 2019-01-22 | 1 | -10/+4 |
| | |||||
* | Add descriptions to the tests | Daniel Gröber | 2019-01-22 | 2 | -0/+10 |
| | |||||
* | 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 |
| | |||||
* | Split up Compile.hs into multiple modules | Daniel Gröber | 2018-10-27 | 1 | -1/+4 |
| | |||||
* | Add some comments | Daniel Gröber | 2018-10-27 | 1 | -2/+3 |
| | |||||
* | Suport using Stack's built-in GHC to build the helper | Daniel Gröber | 2018-10-27 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |||||
* | compile-test: Add new Cabal versions | Daniel Gröber | 2018-10-27 | 1 | -0/+2 |
| | |||||
* | 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 | 2 | -10/+15 |
| | |||||
* | Drop GHC 7.8 support | Daniel Gröber | 2018-10-27 | 1 | -20/+21 |
| | | | | | | | | | Unfortunately we need process-1.2.3.0 for 'readCreateProcess' replacing it for 7.8 is just too much effort. For testing's sake GHC 7.10 can still build Cabal-1.18.* but not 1.20, seems to just need a hackage revision though. Just disable 1.20 for now. I don't think anyone really still uses that. | ||||
* | Drop GHC<7.8 support | Daniel Gröber | 2018-10-26 | 1 | -9/+2 |
| | |||||
* | Remove wrapper, integrate functionality into the library | Daniel Gröber | 2018-08-26 | 1 | -9/+14 |
| | | | | | | | | | | | | 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. | ||||
* | ghc-session: Fix `cabal sdist` warning | Daniel Gröber | 2018-06-17 | 1 | -1/+1 |
| | |||||
* | compile-test: Add list-version command to list Cabal versions | Daniel Gröber | 2018-06-17 | 1 | -72/+80 |
| | |||||
* | 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. | ||||
* | compile-test: Add Cabal versions for GHC 8.4 | Daniel Gröber | 2018-04-16 | 1 | -0/+3 |
| | |||||
* | 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. | ||||
* | Refactor 'compileHelper' to cache helper in all cases | Daniel Gröber | 2018-01-18 | 1 | -5/+8 |
| | |||||
* | Fix and refactor CH.C.Compile | Daniel Gröber | 2018-01-18 | 1 | -9/+39 |
| | | | | ..compilation outputs were landing in CWD | ||||
* | compile-test: Add Cabal-2.0.{1.0,1.1} | Daniel Gröber | 2018-01-18 | 1 | -0/+2 |
| | |||||
* | Refactor to introduce Cabal version type | Daniel Gröber | 2018-01-18 | 1 | -10/+10 |
| |