aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime
Commit message (Collapse)AuthorAgeFilesLines
* Start implementing Distribution.Helper.DiscoverZubin Duggal2019-09-171-0/+26
|
* Revert compilerVersion being project-scopeDaniel Gröber2019-05-271-2/+4
| | | | | Turns out the Setup header has the compiler version used to build Setup, not the version the project is configured to use.
* Fix QueryEnv not being compatible with ExDaniel Gröber2019-05-051-2/+1
|
* Add ProjLocV1Dir for easier forward portingDaniel Gröber2019-04-011-2/+8
|
* Make compilerVersion accessor project-scope for V1 projectsDaniel Gröber2019-04-013-6/+50
|
* Fix datecode padding in unpackCabalHEADDaniel Gröber2019-04-011-1/+2
|
* Don't insist on an odd major version in unpackCabalHEADDaniel Gröber2019-04-011-3/+4
| | | | Super-major version bumps like Cabal-2.5.0.0 -> Cabal-3.0.0.0 violate that rule.
* Fix replaceVersionDecl for Cabal HEADDaniel Gröber2019-03-311-1/+3
| | | | It breaks when there's a `cabal-version:` delaration in the file.
* Promote 'Ex' to exported APIDaniel Gröber2019-03-311-1/+29
| | | | We will need it for the project discovery module later.
* Bestow installCabalLibV2 with the message blubDaniel Gröber2019-03-291-13/+19
|
* docsDaniel Gröber2019-03-291-9/+19
|
* Fix indentDaniel Gröber2019-02-141-1/+1
| | | | [ci skip]
* Fix empty package-db being interpreted as "existing"Daniel Gröber2019-02-141-0/+1
|
* Make Cabal-HEAD lib v2-build cachableDaniel Gröber2019-02-144-37/+92
|
* Some helper compilation test coverage commentsDaniel Gröber2019-02-111-0/+2
| | | | [ci skip]
* Add demoteSProjTypeDaniel Gröber2019-02-111-0/+5
|
* docsDaniel Gröber2019-02-111-0/+1
| | | | [ci skip]
* Shortcut helper compilation when Cabal version is already availableDaniel Gröber2019-02-092-2/+6
| | | | | 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-261-1/+25
|
* 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 cabal-file path for multi package v2 projectsDaniel Gröber2019-01-221-1/+1
|
* CommentsDaniel Gröber2019-01-221-22/+24
| | | | [ci skip]
* CopyeditingDaniel Gröber2019-01-221-2/+2
| | | | [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-221-0/+41
|
* Move Shared.Sandbox module to Compiletime.Daniel Gröber2019-01-223-2/+76
|
* Implement `compilerVersion`Daniel Gröber2019-01-221-1/+4
|
* Rename helper command: s/compiler-version/compiler-id/Daniel Gröber2019-01-221-1/+1
|
* 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-278-406/+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
|