aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Runtime
Commit message (Collapse)AuthorAgeFilesLines
* Remove crusty old helper codeDaniel Gröber2019-09-172-306/+31
| | | | | | | | | | | | - 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 some warningsDaniel Gröber2019-09-172-1/+4
| | | | | | | | | I'm turning off -Wunused-imports in the modules that have to deal with ancient Cabal versions because maintaining warning cleanlyness really is quite pointless when you have to deal with all sorts of deprecations and stuff moving around. I don't think having too many imports will ever break anything there unless the modules really get deprecated and removed, but we'll notice that ;)
* Fix Cabal HEADZubin Duggal2019-07-291-4/+1
|
* Fix Haddock parse errorDaniel Gröber2019-05-021-2/+2
|
* Sync with Cabal HEADDaniel Gröber2019-02-141-2/+1
|
* helper: Make 'version' comand part of the normal parsing logicDaniel Gröber2019-02-101-7/+3
|
* Shortcut helper compilation when Cabal version is already availableDaniel Gröber2019-02-092-793/+814
| | | | | This is mostly an optimization for Nix which already sets up the environment correctly, so we should reward its users :)
* Sync with Cabal HEADDaniel Gröber2019-01-221-4/+21
|
* Move Shared.Sandbox module to Compiletime.Daniel Gröber2019-01-222-2/+0
|
* Rename helper command: s/compiler-version/compiler-id/Daniel Gröber2019-01-221-3/+3
|
* Refactor Unit handlingDaniel Gröber2018-10-271-6/+5
|
* Add package-id unit-queryDaniel Gröber2018-10-271-1/+6
|
* Start refactoring to support cabal v2-buildDaniel Gröber2018-10-272-118/+138
|
* Remove unused parameter from componentNameToChDaniel Gröber2018-10-262-9/+9
|
* Move compat code out of Runtime/Main.hsDaniel Gröber2018-10-262-54/+211
|
* Change maintainer email addressDaniel Gröber2018-08-131-1/+1
|
* Add package name and description to license headersDaniel Gröber2018-08-131-0/+1
|
* Downgrade license from AGPLv3 to regular GPLv3Daniel Gröber2018-08-131-4/+4
| | | | | | | | | | | | | | There are only 8 commits in cabal-helper not by me or alanz, see: $ git log --author='Daniel Gröber\|Alan Zimmerman' --invert-grep -p 9142d8a9e6ed18faf17a360521fbbbd25f6a3b47 Alan Zimmerman has agreed to the license change on IRC. The rest are IMO uncopyrightable. I'm pretty sure version-bounds are "facts" which are inherently uncopyrightable, i.e. the software builds with this and that version, that's a fact. Simple build fixes such as ae568d10 and eb178a5b shouldn't really cross the necessary creative threshold.
* Remove unused importDaniel Gröber2018-08-121-1/+0
|
* Use componentOutDir with all Cabal versions to fix cabal-preprocessors test ↵Maxim Ivanov2018-04-131-4/+0
| | | | (#49)
* Fix building with Cabal 2.2 (#53)Julian Ospald2018-04-051-5/+20
|
* Revert "Merge pull request #48 from ulidtko/fix-componentOutDir-cabal2.0"Daniel Gröber2018-03-171-2/+2
| | | | | This reverts commit 0d05f81305d4bd16bc647f6d60017fdb10d9cfb3, reversing changes made to b81f78ab5008506ebefa75d6d8aa512e4e7a378e.
* Fix inverted Cabal2.0 version check; fix cabal-preprocessors testmax ulidtko2018-03-171-2/+2
|
* Fix combineEP, to preserve top level exe targets (#45)Alan Zimmerman2018-02-081-7/+15
|
* Revert hsSourceDirs hackery (#43)Alan Zimmerman2018-01-291-6/+0
| | | Move hack to GhcSession test for now, the corresponding logic should be moved into c-h instead of living in ghc-mod instead.
* Remove package license queryDaniel Gröber2018-01-182-136/+2
|
* Move import into CPP zoneAlan Zimmerman2018-01-181-3/+3
|
* When a component uses an internal backpack module, use cabal optsAlan Zimmerman2018-01-181-17/+14
| | | | Which includes inserting the inplace directory for package includes
* WIP on addressing review issuesAlan Zimmerman2018-01-181-23/+39
| | | | | Still need clarity on best way of adding the local package db when it is needed and exists.
* Clean upAlan Zimmerman2018-01-181-5/+0
|
* Tests pass for backpackAlan Zimmerman2018-01-181-6/+16
|
* Progress on when to build and when notAlan Zimmerman2018-01-181-4/+12
|
* Bring in needsBuildOuput query, for indefinite modulesAlan Zimmerman2018-01-181-19/+66
|
* WIP on backpack supportAlan Zimmerman2018-01-181-16/+39
|
* Add CPP for earlier cabal versionsAlan Zimmerman2018-01-181-0/+7
|
* Add missing tests to sdist, check for Cabal 2.0 for CFlibAlan Zimmerman2018-01-181-0/+2
|
* Saner way to merge entrypointsAlan Zimmerman2018-01-181-27/+19
|
* Add recursive otherModules and exposedModules to the "entrypoints"Alan Zimmerman2018-01-181-17/+46
|
* Fix componentOutDir for foreign-libsDaniel Gröber2018-01-181-13/+16
|
* Provide foreign lib otherModulesAlan Zimmerman2018-01-181-1/+3
|
* Update as per @DanielG commentsAlan Zimmerman2018-01-181-23/+19
|
* Tests pass using GHC 8.2.2Alan Zimmerman2018-01-181-2/+36
|
* Cleaning upAlan Zimmerman2018-01-181-37/+26
|
* Passes test.Alan Zimmerman2018-01-181-11/+17
| | | | | But we get a "missing-home-module" warning, based on the extra include dirs, and content being seen as part of the component.
* Bring in hs-source-dirs for sub-dependenciesAlan Zimmerman2018-01-181-19/+48
| | | | | | Instead of the sub-dependency. Must still bring in the deps of the sub-dependency.
* WIP on getting projects to build with Cabal 2.0/GHC 8.2Alan Zimmerman2018-01-181-9/+57
|
* Fix compilation error on GHC 7.{4,6,8}Daniel Gröber2017-10-251-1/+3
|
* Cleanup runtime MainDaniel Gröber2017-10-101-140/+203
|
* Move split source into src/ and lib/Daniel Gröber2017-09-282-0/+664