aboutsummaryrefslogtreecommitdiff
path: root/Distribution/Helper.hs
Commit message (Collapse)AuthorAgeFilesLines
* Move split source into src/ and lib/Daniel Gröber2017-09-281-527/+0
|
* Simplify Distribution.Helper APIDaniel Gröber2017-09-281-115/+185
| | | | | | | | | | 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
|
* Execute deprecationsDaniel Gröber2017-09-251-33/+4
|
* Remove 'Options' from shared Types moduleDaniel Gröber2017-09-251-1/+1
| | | | Only needed at compiletime, were being hidden everywhere else already.
* Fix literally everything :)Daniel Gröber2017-09-181-4/+4
| | | | | | | | | | | | | | 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
* Fix wording in libexecNotFound error messageDaniel Gröber2017-06-121-1/+1
|
* Update and fix support for Cabal HEADDaniel Gröber2017-06-121-1/+1
|
* Copy over Setup.hs from ghc-modDaniel Gröber2017-01-161-2/+1
|
* Add version to wrapper exe to ease upgradesDaniel Gröber2016-05-171-9/+9
|
* Fix GHC 8.0 errorsDaniel Gröber2016-01-171-1/+4
|
* Allow specifying ghc{,-pkg}executables everywhereDaniel Gröber2016-01-101-42/+65
|
* Expose compiler-version command in libraryDaniel Gröber2015-11-251-3/+14
|
* Move package-id to wrapperDaniel Gröber2015-09-241-30/+39
| | | | | we need it before dist/setup-config exists so we can't run it as part of the other queries anyways, might as well go in the wrapper.
* Fix pattern match errorDaniel Gröber2015-09-231-0/+1
|
* Add support for querying flagsDaniel Gröber2015-09-231-3/+36
|
* Reorganize runQuery parametersDaniel Gröber2015-09-071-48/+61
|
* Fix argument orderShohei Murayama2015-08-281-3/+3
|
* Add `licenses` commandDaniel Gröber2015-08-271-3/+12
| | | | | Totally not stolen from https://github.com/jaspervdj/cabal-dependency-licenses, no never!
* Factor helper compilation into seperate module for testingDaniel Gröber2015-08-211-1/+1
|
* Add prepare commandDaniel Gröber2015-08-141-0/+15
|
* Fix testsDaniel Gröber2015-08-121-3/+7
|
* Add support for having a custom `readProcess`Daniel Gröber2015-08-121-20/+46
|
* Minor stuffDaniel Gröber2015-08-121-0/+1
|
* Fix testDaniel Gröber2015-08-101-1/+1
|
* Add support for getting Cabal lib from sandboxDaniel Gröber2015-08-101-8/+12
|
* Factor sandbox stuff out into a seperate moduleDaniel Gröber2015-08-071-51/+8
| | | | So we can use the sandbox discovery for Setup.hs components
* Migrate cabal.sandbox.config decoding logic from ghc-modDaniel Gröber2015-08-071-0/+54
|
* Add pkg-db stack stuff to library interfaceDaniel Gröber2015-08-071-3/+12
|
* Add ghc-merged-pkg-optionsDaniel Gröber2015-06-051-18/+26
| | | | Needed to properly handle listing all module visible in a package
* Add MonadIO instance for QueryDaniel Gröber2015-05-081-1/+1
|
* Make it able to find executable on WindowsIku Iwasa2015-04-211-1/+2
| | | | This adds Cabal dependency to cabal-helper library.
* Add language options queryDaniel Gröber2015-04-111-3/+12
|
* Fix ghc 7.4Daniel Gröber2015-04-031-0/+5
|
* Add `buildPlatform`Daniel Gröber2015-04-031-0/+8
|
* Fix stray outputDaniel Gröber2015-03-281-8/+1
|
* Handle inplace library deps and do a rename passDaniel Gröber2015-03-281-26/+21
|
* A bunch of fixesDaniel Gröber2015-03-121-0/+5
|
* Fix callProcess for process<1.2Daniel Gröber2015-03-121-1/+8
|
* Fix ambiguity errorDaniel Gröber2015-03-121-2/+2
|
* Initial commitDaniel Gröber2015-03-121-0/+278