aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Simplify Distribution.Helper APIDaniel Gröber2017-09-282-115/+186
| | | | | | | | | | Component queries are now done using Applicative (actually semigroupoids Apply) syntax, for example: runQuery _ $ components $ (,,) <$> ghcOptions <*> sourceDirs :: IO [([GhcOption], [SourceDir], ChComponentName)] Note that 'component' adds the 'ChComponentName' at the end.
* Rename 'default*' -> 'mk*'Daniel Gröber2017-09-261-12/+12
|
* Module header for Distribution.HelperDaniel Gröber2017-09-261-2/+8
|
* Cleanup dependenciesDaniel Gröber2017-09-261-12/+13
|
* Remove obsolete TODOsDaniel Gröber2017-09-262-8/+1
| | | | [ci skip]
* Remove 'ghc-prim' dependencyDaniel Gröber2017-09-261-3/+0
| | | | Not sure what that was added for but looks useless.
* Cleanup module headersDaniel Gröber2017-09-269-16/+85
|
* Cleanup Setup.hs dependenciesDaniel Gröber2017-09-262-16/+3
|
* Fix compilation-test for GHC 7.4Daniel Gröber2017-09-261-1/+1
|
* Fix shadowing warningDaniel Gröber2017-09-261-2/+3
|
* Fix missing 'lookupEnv' for GHC 7.4Daniel Gröber2017-09-261-0/+1
|
* Refactor CH.C.Data to use 'unix' instead of 'time'Daniel Gröber2017-09-262-14/+14
|
* Reflow package description in cabal file for 80colsDaniel Gröber2017-09-261-17/+20
| | | | [ci skip]
* Relax 'time' to >=1.4 && <1.9Daniel Gröber2017-09-261-2/+2
|
* Omit -j when calling Setup.hs for Cabal<1.20Daniel Gröber2017-09-261-7/+18
|
* ci: Add GHC 7.6, 7.4Daniel Gröber2017-09-251-0/+10
|
* ci: Remove images with ancient cabal-install versionsDaniel Gröber2017-09-251-10/+0
|
* Execute deprecationsDaniel Gröber2017-09-251-33/+4
|
* Make debugging env var name consistentDaniel Gröber2017-09-252-2/+2
|
* Fix displayExceoption not being available on older GHCsDaniel Gröber2017-09-251-1/+1
|
* tests: Handle errors when installing Cabal and continueDaniel Gröber2017-09-251-3/+10
|
* Fix some warningsDaniel Gröber2017-09-251-2/+3
|
* tests: Use showVersion for 'Version' typeDaniel Gröber2017-09-251-2/+3
|
* tests: Bump Cabal bound to 2.0 for 8.2Daniel Gröber2017-09-251-1/+1
|
* Change cache dir name to 'cabal-helper' from 'ghc-mod'Daniel Gröber2017-09-251-1/+1
|
* Update package descriptionDaniel Gröber2017-09-252-47/+36
|
* Fix wording in error messageDaniel Gröber2017-09-251-1/+1
| | | | [ci skip]
* Add support for running Cabal's Setup.hs directlyDaniel Gröber2017-09-256-128/+203
| | | | | | | | 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 moduleDaniel Gröber2017-09-2510-37/+73
| | | | Only needed at compiletime, were being hidden everywhere else already.
* Fix CH.C.C.Environment on Prelude without '<$>'Daniel Gröber2017-09-251-1/+1
|
* ci: Make sandbox paths absoluteDaniel Gröber2017-09-251-4/+4
|
* tests: Remove reference to ./distDaniel Gröber2017-09-251-2/+2
| | | | | The 'distdir' argument to 'compile' is only relevant for the Cabal source dir case.
* tests: Remove cleaning of cache dirDaniel Gröber2017-09-251-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 compileDaniel Gröber2017-09-251-3/+0
|
* Adapt CI scripts for readonly sourcedirDaniel Gröber2017-09-195-12/+19
|
* Remove 'extra' dependencyDaniel Gröber2017-09-194-6/+13
| | | | ..constrains dependency versions too much and just causes failures.
* Extract CI config into scriptsDaniel Gröber2017-09-189-32/+47
|
* Fix CI buildDaniel Gröber2017-09-181-2/+2
|
* Remove leftover debug codeDaniel Gröber2017-09-181-2/+0
|
* Use $XDG_CACHE_HOME instead of '.ghc-mod' (Fix DanielG/ghc-mod#833)Daniel Gröber2017-09-183-8/+21
|
* Use 'extra' for 'lookupEnv'Daniel Gröber2017-09-182-2/+3
|
* Fix literally everything :)Daniel Gröber2017-09-1815-202/+271
| | | | | | | | | | | | | | 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
* Relax 'process' constraint for GHC 8.2Daniel Gröber2017-09-051-3/+3
|
* gitlab-ci: Drop GHC 7.6Daniel Gröber2017-08-201-10/+0
| | | | | | | | | | | | | Ugh https://gitlab.com/dxld/cabal-helper/-/jobs/29792413 ``` [...] Linking /tmp/Cabal-1.16.0.3-15785/Cabal-1.16.0.3/dist/setup/setup ... unrecognized option `--sysconfdir=/tmp/.ghc-mod/cabal-helper/Cabal-1.16.0.3-db-7.6.3/prefix/etc' unrecognized option `--extra-prog-path=/tmp/.cabal/bin' [...] ```
* spec: Add GHC 8.2.1, Cabal 2.0.0.2Daniel Gröber2017-08-201-0/+2
|
* gitlab-ci: Update source imagesDaniel Gröber2017-08-201-15/+5
|
* Fix Setup.hs Cabal version checkDaniel Gröber2017-08-201-1/+1
| | | | Related: 765984189a0e4bd8981512b5fbf3b715ab006b09
* gitlab-ci: Build with GHC 8.2Daniel Gröber2017-08-191-0/+5
|
* gitlab-ci: apt update before installDaniel Gröber2017-08-191-1/+1
|
* Fix Cabal dependency boundsDaniel Gröber2017-08-191-24/+24
| | | | The cabal guys released what was originally called 2.1 as 2.0 -.-