aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper
Commit message (Collapse)AuthorAgeFilesLines
* Shortcut helper compilation when Cabal version is already availableDaniel Gröber2019-02-094-795/+820
| | | | | 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-02-091-1/+1
|
* Fix module descriptionDaniel Gröber2019-01-301-1/+1
| | | | [ci skip]
* Add log-level to verbosity conditionalDaniel Gröber2019-01-303-10/+12
|
* Fix ghc-pkg guessing logic when using v2-installDaniel Gröber2019-01-301-1/+1
|
* Fix SomeException swallowing in compileWithCabalV2GhcEnvDaniel Gröber2019-01-301-2/+2
|
* compile: v2-install --libs needs GHC >=8.0Daniel Gröber2019-01-262-0/+2
|
* Fix getHelperExe not using correct stack programsLuke Lau2019-01-261-4/+4
| | | | | In turn fixes errors when building cabal-helper exe for stack projects where the resolver uses a different ghc version than system.
* Add Stack version check for `stack ide packages --cabal-file`Daniel Gröber2019-01-262-4/+38
|
* Add support and test coverage for mulit-pkg projectsDaniel Gröber2019-01-263-49/+105
|
* Fix package-envs conflicting with -package flagsDaniel Gröber2019-01-221-5/+8
|
* Fix ciSourceDirs commentaryDaniel Gröber2019-01-221-2/+4
| | | | [ci skip]
* Fix cabal-file path for multi package v2 projectsDaniel Gröber2019-01-221-1/+1
|
* CommentsDaniel Gröber2019-01-222-22/+26
| | | | [ci skip]
* CopyeditingDaniel Gröber2019-01-222-3/+3
| | | | [skip ci]
* Reintroduce type conventions: s/proj_type/pt/ s/cache/c/Daniel Gröber2019-01-221-7/+7
|
* Make most record fields strictDaniel Gröber2019-01-222-16/+16
| | | | | This lets GHC give better error messages when forgetting to initialize a field when using the `let field = _ in DataType{..}` RecordWildcards syntax.
* Add 'uComponentName' queryDaniel Gröber2019-01-222-1/+30
|
* Add helper compilation time to debug outputDaniel Gröber2019-01-221-0/+6
|
* Refactor Compile (for v2-install)Daniel Gröber2019-01-226-156/+366
|
* Sync with Cabal HEADDaniel Gröber2019-01-222-4/+62
|
* Move Shared.Sandbox module to Compiletime.Daniel Gröber2019-01-225-6/+4
|
* Implement `compilerVersion`Daniel Gröber2019-01-221-1/+4
|
* Rename helper command: s/compiler-version/compiler-id/Daniel Gröber2019-01-222-4/+4
|
* Fix wrong target-selector syntax for v2-buildDaniel Gröber2019-01-221-1/+3
|
* Formatting changesDaniel Gröber2019-01-221-1/+1
| | | | [ci skip]
* Include package.yaml in Unit modification times for Stack projectsDaniel Gröber2019-01-221-1/+2
|
* Fix compBuildDir isolation bugDaniel Gröber2019-01-221-1/+1
| | | | | In f071b83fd8 (Include source hash in helper binary output path) we accidentally removed the GHC/Cabal version numbers previously included in this path.
* Implement behaviour for cabal new-* (#61)Sebastian Wild2019-01-223-5/+22
| | | | | Add list of components to Unit data type to handle v2 based builds per cabal unit.
* Formatting/indent changesDaniel Gröber2019-01-221-21/+19
| | | | [ci skip]
* 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.