Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | 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 | 9 | -0/+112 | |
| | ||||||
* | 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 | 5 | -0/+35 | |
| | ||||||
* | ghc-session: Add test-suite and benchmark tests | Daniel Gröber | 2018-01-18 | 2 | -2/+22 | |
| | ||||||
* | Revert indentation | Alan Zimmerman | 2018-01-18 | 1 | -30/+30 | |
| | ||||||
* | Remove commented out code | Alan Zimmerman | 2018-01-18 | 1 | -5/+0 | |
| | ||||||
* | Update as per @DanielG comments | Alan Zimmerman | 2018-01-18 | 1 | -28/+28 | |
| | ||||||
* | Try to fix GHC 7.4 build | Alan Zimmerman | 2018-01-18 | 1 | -2/+4 | |
| | ||||||
* | Use defaultLogAction for GHC 7.4 | Alan Zimmerman | 2018-01-18 | 1 | -0/+4 | |
| | ||||||
* | Disambiguate liftIO for GHC 7.4 | Alan Zimmerman | 2018-01-18 | 1 | -0/+4 | |
| | ||||||
* | Bring MonadIO Ghc into scope for GHC 7.4 | Alan Zimmerman | 2018-01-18 | 1 | -29/+37 | |
| | ||||||
* | Cleaning up | Alan Zimmerman | 2018-01-18 | 1 | -13/+3 | |
| | ||||||
* | WIP on getting projects to build with Cabal 2.0/GHC 8.2 | Alan Zimmerman | 2018-01-18 | 3 | -3/+14 | |
| | ||||||
* | Add a test which brings up a GHC session | Daniel Gröber | 2018-01-18 | 11 | -1/+211 | |
| | ||||||
* | compile-test: Add GHC 8.2.2 to Cabal version table | Daniel Gröber | 2017-12-02 | 1 | -1/+6 | |
| | ||||||
* | Fix windows build using unix-compat | Vladislav Shtepin | 2017-11-07 | 1 | -2/+1 | |
| | ||||||
* | Fix compilation-test for GHC 7.4 | Daniel Gröber | 2017-09-26 | 1 | -1/+1 | |
| | ||||||
* | tests: Handle errors when installing Cabal and continue | Daniel Gröber | 2017-09-25 | 1 | -3/+10 | |
| | ||||||
* | tests: Use showVersion for 'Version' type | Daniel Gröber | 2017-09-25 | 1 | -2/+3 | |
| | ||||||
* | tests: Bump Cabal bound to 2.0 for 8.2 | Daniel Gröber | 2017-09-25 | 1 | -1/+1 | |
| | ||||||
* | Add support for running Cabal's Setup.hs directly | Daniel Gröber | 2017-09-25 | 1 | -22/+8 | |
| | | | | | | | | cabal-install 1.24 broke installing older Cabal versions which use build-type:custom. See https://github.com/haskell/cabal/pull/4787. This still breaks with HEAD on GHC<8. See https://github.com/haskell/cabal/pull/4786. | |||||
* | Remove 'Options' from shared Types module | Daniel Gröber | 2017-09-25 | 1 | -1/+1 | |
| | | | | Only needed at compiletime, were being hidden everywhere else already. | |||||
* | tests: Remove reference to ./dist | Daniel Gröber | 2017-09-25 | 1 | -2/+2 | |
| | | | | | The 'distdir' argument to 'compile' is only relevant for the Cabal source dir case. | |||||
* | tests: Remove cleaning of cache dir | Daniel Gröber | 2017-09-25 | 1 | -2/+0 | |
| | | | | | .. mostly because the paths are wrong now but I also think keeping these dirty across the tests simulates the users environment better. | |||||
* | tests: Remove testing of library -- only compile | Daniel Gröber | 2017-09-25 | 1 | -3/+0 | |
| | ||||||
* | Remove 'extra' dependency | Daniel Gröber | 2017-09-19 | 1 | -1/+1 | |
| | | | | ..constrains dependency versions too much and just causes failures. | |||||
* | Fix literally everything :) | Daniel Gröber | 2017-09-18 | 1 | -11/+10 | |
| | | | | | | | | | | | | | | Sorry for the megacommit - Seperate modules into: - Compiletime, modules which are only used while building the package - Runtime, modues included in the wrapper binary to be compiled on the users machine at runtime - Shared, modues used in both contexts - Refactor runtime compilation - Completely revamp output paths - Don't chdir when invoking ghc - Require cabal-version 1.14 in cabal file | |||||
* | spec: Add GHC 8.2.1, Cabal 2.0.0.2 | Daniel Gröber | 2017-08-20 | 1 | -0/+2 | |
| | ||||||
* | spec: Allow Cabal HEAD to fail to compile | Daniel Gröber | 2017-07-09 | 1 | -5/+10 | |
| | ||||||
* | spec: Introduce upper bounds for cabal version | Daniel Gröber | 2017-07-09 | 1 | -61/+77 | |
| |