aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Split up Compile.hs into multiple modulesDaniel Gröber2018-10-279-415/+642
|
* Make some more datatype fields strictDaniel Gröber2018-10-271-3/+3
|
* Fix listCabalVersions logic bugDaniel Gröber2018-10-271-12/+10
| | | | | The 'mdb' argument is supposed to be interpreted as "use the global db" when it's 'Nothing'.
* Suport using Stack's built-in GHC to build the helperDaniel Gröber2018-10-273-38/+46
|
* Refactor Unit handlingDaniel Gröber2018-10-274-67/+89
|
* Add package-id unit-queryDaniel Gröber2018-10-273-2/+10
|
* Add stack supportDaniel Gröber2018-10-273-1/+304
|
* Start refactoring to support cabal v2-buildDaniel Gröber2018-10-275-170/+239
|
* Include source hash in helper binary output pathDaniel Gröber2018-10-261-18/+18
|
* Move 'mightExist' to Common moduleDaniel Gröber2018-10-262-7/+7
|
* Fix Show instance for PanicDaniel Gröber2018-10-261-1/+3
|
* Fix a couple of warningsDaniel Gröber2018-10-262-6/+19
|
* Remove unused parameter from componentNameToChDaniel Gröber2018-10-262-9/+9
|
* Move compat code out of Runtime/Main.hsDaniel Gröber2018-10-263-54/+212
|
* Support hashing runtime sourcesDaniel Gröber2018-10-261-6/+30
|
* Remove wrapper, integrate functionality into the libraryDaniel Gröber2018-08-265-438/+219
| | | | | | | | | | | | 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.
* Fix package-id commandDaniel Gröber2018-08-231-1/+1
|
* Change maintainer email addressDaniel Gröber2018-08-1312-12/+12
|
* Add package name and description to license headersDaniel Gröber2018-08-1311-0/+11
|
* Downgrade license from AGPLv3 to regular GPLv3Daniel Gröber2018-08-1312-43/+88
| | | | | | | | | | | | | | 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.
* Add initial new-build (v2-build) support to wrapperDaniel Gröber2018-08-123-52/+142
|
* Remove unused importDaniel Gröber2018-08-121-1/+0
|
* Add --help option to wrapperDaniel Gröber2018-08-122-3/+7
|
* Add Cabal 2.4 supportDaniel Gröber2018-08-123-100/+38
|
* ci: Limit compile-test build concurrencyDaniel Gröber2018-06-171-4/+10
|
* Use `-j` when building Cabal HEADDaniel Gröber2018-04-161-0/+1
|
* 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-053-7/+38
|
* 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.
* Fix docsDaniel Gröber2018-01-191-1/+1
| | | | | | ..its called XDG_CACHE_HOME not XDG_CACHE_DIR. [skip ci]
* Refactor 'compileHelper' to cache helper in all casesDaniel Gröber2018-01-181-91/+112
|
* Remove package license queryDaniel Gröber2018-01-183-137/+2
|
* Fix and refactor CH.C.CompileDaniel Gröber2018-01-182-109/+167
| | | | ..compilation outputs were landing in CWD
* Make PackageDbDir newtype accessor more conventionalDaniel Gröber2018-01-182-3/+3
|
* Refactor to introduce Cabal version typeDaniel Gröber2018-01-184-71/+75
|
* 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-182-28/+75
|
* WIP on backpack supportAlan Zimmerman2018-01-182-21/+49
|
* 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
|