Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Split SProjType along build-tool line | Daniel Gröber | 2019-09-17 | 5 | -43/+60 | |
| | | | | | | | 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 | 4 | -9/+9 | |
| | ||||||
* | 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 | 3 | -2/+63 | |
| | ||||||
* | ghc-session: Allow overriding programs on commandline | Daniel Gröber | 2019-09-17 | 1 | -57/+104 | |
| | ||||||
* | Fix Cabal HEAD | Zubin Duggal | 2019-07-29 | 1 | -4/+1 | |
| | ||||||
* | compile-test: Read cabal versions from file | Daniel Gröber | 2019-06-19 | 6 | -51/+102 | |
| | | | | | This allows them to be checked for up-to-date'nes in CI like the stack-resolvers. | |||||
* | Fix redundant case warning | Daniel Gröber | 2019-06-19 | 1 | -1/+0 | |
| | ||||||
* | ghc-session: Improve test output consistency | Daniel Gröber | 2019-06-19 | 1 | -29/+61 | |
| | ||||||
* | ghc-session: Simplify Cabal version checking | Daniel Gröber | 2019-06-19 | 1 | -12/+12 | |
| | ||||||
* | ci: Move stack resolver table to a file | Daniel Gröber | 2019-06-19 | 5 | -16/+45 | |
| | ||||||
* | ci: Upgrade to stack-2.1.1 | Daniel Gröber | 2019-06-17 | 1 | -5/+13 | |
| | ||||||
* | ci: Allow using latest Hackage index with CI_USE_COMMIT_INDEX_STATE=true | Daniel Gröber | 2019-06-17 | 1 | -1/+6 | |
| | ||||||
* | ci: Switch to stack included in CI images | Daniel Gröber | 2019-05-27 | 2 | -13/+11 | |
| | ||||||
* | Revert compilerVersion being project-scope | Daniel Gröber | 2019-05-27 | 2 | -8/+5 | |
| | | | | | 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 | 2 | -3/+3 | |
| | ||||||
* | Fix Haddock parse error | Daniel Gröber | 2019-05-02 | 1 | -2/+2 | |
| | ||||||
* | Fix getHelper ignoring withProgs environment | Daniel Gröber | 2019-04-01 | 1 | -4/+1 | |
| | ||||||
* | Add ProjLocV1Dir for easier forward porting | Daniel Gröber | 2019-04-01 | 3 | -10/+18 | |
| | ||||||
* | Expose missing ChLibraryName in public API | Daniel Gröber | 2019-04-01 | 1 | -0/+1 | |
| | ||||||
* | Make compilerVersion accessor project-scope for V1 projects | Daniel Gröber | 2019-04-01 | 5 | -33/+83 | |
| | ||||||
* | 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. | |||||
* | Add skeleton for project discovery functionality | Daniel Gröber | 2019-03-31 | 2 | -0/+42 | |
| | ||||||
* | Improve export list order for docs | Daniel Gröber | 2019-03-31 | 1 | -1/+2 | |
| | ||||||
* | Fix missing CompPrograms export | Daniel Gröber | 2019-03-31 | 1 | -1/+2 | |
| | ||||||
* | Promote 'Ex' to exported API | Daniel Gröber | 2019-03-31 | 3 | -3/+30 | |
| | | | | 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 | 3 | -14/+32 | |
| | ||||||
* | Add accessor for ChModuleName newtype | Daniel Gröber | 2019-03-29 | 2 | -4/+1 | |
| | ||||||
* | Fix indent | Daniel Gröber | 2019-02-14 | 1 | -1/+1 | |
| | | | | [ci skip] | |||||
* | Sync with Cabal HEAD | Daniel Gröber | 2019-02-14 | 1 | -2/+1 | |
| | ||||||
* | 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 | 5 | -37/+93 | |
| | ||||||
* | Some helper compilation test coverage comments | Daniel Gröber | 2019-02-11 | 3 | -1/+13 | |
| | | | | [ci skip] | |||||
* | Add demoteSProjType | Daniel Gröber | 2019-02-11 | 2 | -0/+6 | |
| | ||||||
* | docs | Daniel Gröber | 2019-02-11 | 1 | -0/+1 | |
| | | | | [ci skip] | |||||
* | ghc-session: Get correct builtin Cabal version per proj-type | Daniel Gröber | 2019-02-11 | 1 | -48/+89 | |
| | ||||||
* | helper: Make 'version' comand part of the normal parsing logic | Daniel Gröber | 2019-02-10 | 1 | -7/+3 | |
| | ||||||
* | Shortcut helper compilation when Cabal version is already available | Daniel Gröber | 2019-02-09 | 6 | -815/+852 | |
| | | | | | 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] | |||||
* | ci: Move stack install logic into seperate script | Daniel Gröber | 2019-01-30 | 2 | -23/+28 | |
| | ||||||
* | Add log-level to verbosity conditional | Daniel Gröber | 2019-01-30 | 6 | -19/+25 | |
| | ||||||
* | Fix ghc-pkg guessing logic when using v2-install | Daniel Gröber | 2019-01-30 | 2 | -6/+8 | |
| | ||||||
* | 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 | |
| | ||||||
* | ghc-session: Run V2 tests first to get faster build times | Daniel Gröber | 2019-01-26 | 1 | -3/+3 | |
| | | | | | | We cache the produced helper exe without regard to which proj-type produced it, so this way we avoid building the helper exe (and it's dependencies) with cabal v1-build which doesn't cache across CI builds. | |||||
* | Update stack_resolver_table | Daniel Gröber | 2019-01-26 | 1 | -8/+11 | |
| |