Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | ci: Upgrade images for cabal-install 2.4.1.0 | Daniel Gröber | 2019-01-26 | 1 | -10/+10 |
| | |||||
* | compile-test: Update Cabal versions and bounds to reflect reality | Daniel Gröber | 2019-01-26 | 1 | -6/+5 |
| | |||||
* | Fix getHelperExe not using correct stack programs | Luke Lau | 2019-01-26 | 2 | -43/+46 |
| | | | | | 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 | 2 | -4/+38 |
| | |||||
* | Add support and test coverage for mulit-pkg projects | Daniel Gröber | 2019-01-26 | 34 | -217/+697 |
| | |||||
* | ci: Install stack from git when necessary | Daniel Gröber | 2019-01-22 | 1 | -0/+46 |
| | |||||
* | Fix package-envs conflicting with -package flags | Daniel Gröber | 2019-01-22 | 1 | -5/+8 |
| | |||||
* | Fix ciSourceDirs commentary | Daniel Gröber | 2019-01-22 | 1 | -2/+4 |
| | | | | [ci skip] | ||||
* | Use cabal-plan-0.5 from Hackage | Daniel Gröber | 2019-01-22 | 17 | -3935/+2 |
| | |||||
* | Fix cabal-file path for multi package v2 projects | Daniel Gröber | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Add example to show off cabal-helper's functionality | Daniel Gröber | 2019-01-22 | 2 | -0/+73 |
| | |||||
* | Comments | Daniel Gröber | 2019-01-22 | 4 | -28/+30 |
| | | | | [ci skip] | ||||
* | compile-test: Don't `cabal update` before tests | Daniel Gröber | 2019-01-22 | 1 | -2/+0 |
| | | | | The CI script does that anyways | ||||
* | compile-test: Only override HOME when it doesn't exist | Daniel Gröber | 2019-01-22 | 1 | -1/+10 |
| | |||||
* | Copyediting | Daniel Gröber | 2019-01-22 | 2 | -3/+3 |
| | | | | [skip ci] | ||||
* | Reintroduce type conventions: s/proj_type/pt/ s/cache/c/ | Daniel Gröber | 2019-01-22 | 2 | -7/+22 |
| | |||||
* | Fix warning | Daniel Gröber | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | 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 | 3 | -1/+31 |
| | |||||
* | Add helper compilation time to debug output | Daniel Gröber | 2019-01-22 | 3 | -0/+14 |
| | |||||
* | Refactor Compile (for v2-install) | Daniel Gröber | 2019-01-22 | 8 | -210/+424 |
| | |||||
* | compilation-test: Let Cabal constraint fall through to latest GHC ver | Daniel Gröber | 2019-01-22 | 1 | -2/+2 |
| | |||||
* | Sync with Cabal HEAD | Daniel Gröber | 2019-01-22 | 4 | -14/+67 |
| | |||||
* | Move Shared.Sandbox module to Compiletime. | Daniel Gröber | 2019-01-22 | 7 | -11/+8 |
| | |||||
* | Implement `compilerVersion` | Daniel Gröber | 2019-01-22 | 2 | -16/+30 |
| | |||||
* | Rename helper command: s/compiler-version/compiler-id/ | Daniel Gröber | 2019-01-22 | 3 | -6/+6 |
| | |||||
* | Add descriptions to the tests | Daniel Gröber | 2019-01-22 | 2 | -0/+10 |
| | |||||
* | Tune README a bit more | Daniel Gröber | 2019-01-22 | 1 | -3/+3 |
| | |||||
* | Fix wrong target-selector syntax for v2-build | Daniel Gröber | 2019-01-22 | 1 | -1/+3 |
| | |||||
* | git subrepo push --branch=target-selector cabal-plan | Daniel Gröber | 2019-01-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | subrepo: subdir: "cabal-plan" merged: "e36c8ca" upstream: origin: "../cabal-plan" branch: "target-selector" commit: "e36c8ca" git-subrepo: version: "0.4.0" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "5d6aba9" | ||||
* | Add cabal target-selector compatible pretty printer for CompName | Daniel Gröber | 2019-01-22 | 3 | -12/+23 |
| | | | | | | | | | | | | | Currently `dispCompName CompNameLib` would just print `"lib"` however this syntax is neither accepted by `cabal v1-build` nor `v2-build` as a valid target selector making it somewhat useless for that use-case. To specify a main library as a target selector one has to use the `<namespace>:<component name>` syntax where `<component name>` is the name of the respective package for unqualified libraries. Hence this commit adds new function `dispCompName` with an additional `PkgName` argument. | ||||
* | git subrepo clone --branch=master --force ../cabal-plan | Daniel Gröber | 2019-01-22 | 1 | -3/+4 |
| | | | | | | | | | | | | | | subrepo: subdir: "cabal-plan" merged: "cd93de6" upstream: origin: "../cabal-plan" branch: "master" commit: "cd93de6" git-subrepo: version: "0.4.0" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "5d6aba9" | ||||
* | Migrate to Cabal-2.2 common stanzas, yey! | Daniel Gröber | 2019-01-22 | 2 | -171/+32 |
| | |||||
* | Streamline the README a bit | Daniel Gröber | 2019-01-22 | 1 | -19/+59 |
| | |||||
* | ghc-session: Refactor in preparation for Stack tests | Daniel Gröber | 2019-01-22 | 1 | -43/+54 |
| | |||||
* | 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 | 2 | -11/+20 |
| | |||||
* | Allow v2-build projects to not have a cabal.project file | Daniel Gröber | 2019-01-22 | 2 | -16/+6 |
| | |||||
* | ci: Upgrade to cabal-install-2.4.0.0 everywhere | Daniel Gröber | 2019-01-22 | 1 | -8/+8 |
| | | | | This is so we get the 'pkg-src' field in plan.json. | ||||
* | s/v2-build/new-build/ | Daniel Gröber | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Run tests against both old and new build configurations | Alan Zimmerman | 2019-01-22 | 1 | -16/+83 |
| | |||||
* | Implement behaviour for cabal new-* (#61) | Sebastian Wild | 2019-01-22 | 4 | -17/+37 |
| | | | | | Add list of components to Unit data type to handle v2 based builds per cabal unit. | ||||
* | Bump base dependency to reflect reality | Daniel Gröber | 2019-01-22 | 1 | -6/+6 |
| | | | | base-4.8 came with 7.10 which is the oldest supported GHC now. | ||||
* | Formatting/indent changes | Daniel Gröber | 2019-01-22 | 1 | -21/+19 |
| | | | | [ci skip] |