Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split SProjType along build-tool line | Daniel Gröber | 2019-09-17 | 1 | -22/+37 |
| | | | | | | | This makes it much easier to deal with differences between the build tools as we can now have functions that only make sense for Cabal and statically enforce this by passing a 'SCabalProjType pt' as evidence that $pt \in {V1, V2}$. | ||||
* | Support cabal-file not being in pkgdir with cabal-v1 | Daniel Gröber | 2019-09-17 | 1 | -3/+3 |
| | |||||
* | Fix RelativePath invariants | Daniel Gröber | 2019-09-17 | 1 | -6/+22 |
| | | | | | | | | | | Two things were broken here: - I forgot to encode the invariant that RealtivePath should not be allowed to escape CWD by using '../' - The invaiant was inverted. A RelativePath was only allowed to be absolute before -- uups. | ||||
* | Start implementing Distribution.Helper.Discover | Zubin Duggal | 2019-09-17 | 1 | -0/+26 |
| | |||||
* | Revert compilerVersion being project-scope | Daniel Gröber | 2019-05-27 | 1 | -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 Ex | Daniel Gröber | 2019-05-05 | 1 | -2/+1 |
| | |||||
* | Add ProjLocV1Dir for easier forward porting | Daniel Gröber | 2019-04-01 | 1 | -2/+8 |
| | |||||
* | Make compilerVersion accessor project-scope for V1 projects | Daniel Gröber | 2019-04-01 | 3 | -6/+50 |
| | |||||
* | Fix datecode padding in unpackCabalHEAD | Daniel Gröber | 2019-04-01 | 1 | -1/+2 |
| | |||||
* | Don't insist on an odd major version in unpackCabalHEAD | Daniel Gröber | 2019-04-01 | 1 | -3/+4 |
| | | | | Super-major version bumps like Cabal-2.5.0.0 -> Cabal-3.0.0.0 violate that rule. | ||||
* | Fix replaceVersionDecl for Cabal HEAD | Daniel Gröber | 2019-03-31 | 1 | -1/+3 |
| | | | | It breaks when there's a `cabal-version:` delaration in the file. | ||||
* | Promote 'Ex' to exported API | Daniel Gröber | 2019-03-31 | 1 | -1/+29 |
| | | | | We will need it for the project discovery module later. | ||||
* | Bestow installCabalLibV2 with the message blub | Daniel Gröber | 2019-03-29 | 1 | -13/+19 |
| | |||||
* | docs | Daniel Gröber | 2019-03-29 | 1 | -9/+19 |
| | |||||
* | Fix indent | Daniel Gröber | 2019-02-14 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Fix empty package-db being interpreted as "existing" | Daniel Gröber | 2019-02-14 | 1 | -0/+1 |
| | |||||
* | Make Cabal-HEAD lib v2-build cachable | Daniel Gröber | 2019-02-14 | 4 | -37/+92 |
| | |||||
* | Some helper compilation test coverage comments | Daniel Gröber | 2019-02-11 | 1 | -0/+2 |
| | | | | [ci skip] | ||||
* | Add demoteSProjType | Daniel Gröber | 2019-02-11 | 1 | -0/+5 |
| | |||||
* | docs | Daniel Gröber | 2019-02-11 | 1 | -0/+1 |
| | | | | [ci skip] | ||||
* | Shortcut helper compilation when Cabal version is already available | Daniel Gröber | 2019-02-09 | 2 | -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 HEAD | Daniel Gröber | 2019-02-09 | 1 | -1/+1 |
| | |||||
* | Fix module description | Daniel Gröber | 2019-01-30 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Add log-level to verbosity conditional | Daniel Gröber | 2019-01-30 | 3 | -10/+12 |
| | |||||
* | Fix ghc-pkg guessing logic when using v2-install | Daniel Gröber | 2019-01-30 | 1 | -1/+1 |
| | |||||
* | Fix SomeException swallowing in compileWithCabalV2GhcEnv | Daniel Gröber | 2019-01-30 | 1 | -2/+2 |
| | |||||
* | compile: v2-install --libs needs GHC >=8.0 | Daniel Gröber | 2019-01-26 | 2 | -0/+2 |
| | |||||
* | Fix getHelperExe not using correct stack programs | Luke Lau | 2019-01-26 | 1 | -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öber | 2019-01-26 | 1 | -1/+25 |
| | |||||
* | Add support and test coverage for mulit-pkg projects | Daniel Gröber | 2019-01-26 | 3 | -49/+105 |
| | |||||
* | Fix package-envs conflicting with -package flags | Daniel Gröber | 2019-01-22 | 1 | -5/+8 |
| | |||||
* | Fix cabal-file path for multi package v2 projects | Daniel Gröber | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Comments | Daniel Gröber | 2019-01-22 | 1 | -22/+24 |
| | | | | [ci skip] | ||||
* | Copyediting | Daniel Gröber | 2019-01-22 | 1 | -2/+2 |
| | | | | [skip ci] | ||||
* | Reintroduce type conventions: s/proj_type/pt/ s/cache/c/ | Daniel Gröber | 2019-01-22 | 1 | -7/+7 |
| | |||||
* | Make most record fields strict | Daniel Gröber | 2019-01-22 | 2 | -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' query | Daniel Gröber | 2019-01-22 | 2 | -1/+30 |
| | |||||
* | Add helper compilation time to debug output | Daniel Gröber | 2019-01-22 | 1 | -0/+6 |
| | |||||
* | Refactor Compile (for v2-install) | Daniel Gröber | 2019-01-22 | 6 | -156/+366 |
| | |||||
* | Sync with Cabal HEAD | Daniel Gröber | 2019-01-22 | 1 | -0/+41 |
| | |||||
* | Move Shared.Sandbox module to Compiletime. | Daniel Gröber | 2019-01-22 | 3 | -2/+76 |
| | |||||
* | Implement `compilerVersion` | Daniel Gröber | 2019-01-22 | 1 | -1/+4 |
| | |||||
* | Rename helper command: s/compiler-version/compiler-id/ | Daniel Gröber | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Fix wrong target-selector syntax for v2-build | Daniel Gröber | 2019-01-22 | 1 | -1/+3 |
| | |||||
* | Formatting changes | Daniel Gröber | 2019-01-22 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Include package.yaml in Unit modification times for Stack projects | Daniel Gröber | 2019-01-22 | 1 | -1/+2 |
| | |||||
* | Fix compBuildDir isolation bug | Daniel Gröber | 2019-01-22 | 1 | -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 Wild | 2019-01-22 | 3 | -5/+22 |
| | | | | | Add list of components to Unit data type to handle v2 based builds per cabal unit. | ||||
* | Formatting/indent changes | Daniel Gröber | 2019-01-22 | 1 | -21/+19 |
| | | | | [ci skip] | ||||
* | Split up Compile.hs into multiple modules | Daniel Gröber | 2018-10-27 | 8 | -406/+642 |
| |