Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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] | ||||
* | Upgrade Cabal-spec verson to 2.2 | Daniel Gröber | 2019-01-22 | 1 | -2/+2 |
| | |||||
* | ci: Add GHC-8.6.2 job | Daniel Gröber | 2019-01-22 | 4 | -9/+16 |
| | |||||
* | ci: Use Hackage index state at commit date | Daniel Gröber | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Fix getProjConfModTime: allow missing *.project.{local,freeze} files | Daniel Gröber | 2018-10-27 | 1 | -3/+10 |
| | |||||
* | Split up Compile.hs into multiple modules | Daniel Gröber | 2018-10-27 | 12 | -474/+671 |
| | |||||
* | Add some comments | Daniel Gröber | 2018-10-27 | 2 | -3/+10 |
| | |||||
* | Make some more datatype fields strict | Daniel Gröber | 2018-10-27 | 1 | -3/+3 |
| | |||||
* | Whitespace changes | Daniel Gröber | 2018-10-27 | 1 | -2/+2 |
| | |||||
* | Fix listCabalVersions logic bug | Daniel Gröber | 2018-10-27 | 1 | -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 helper | Daniel Gröber | 2018-10-27 | 5 | -87/+82 |
| | |||||
* | Refactor Unit handling | Daniel Gröber | 2018-10-27 | 6 | -271/+333 |
| | |||||
* | Add package-id unit-query | Daniel Gröber | 2018-10-27 | 4 | -6/+15 |
| | |||||
* | Use Cabal internal libraries instead of sharing 'hs-source-dirs' | Daniel Gröber | 2018-10-27 | 1 | -58/+67 |
| | |||||
* | Remove unused import | Daniel Gröber | 2018-10-27 | 1 | -1/+0 |
| | |||||
* | Add 'allUnits' convenience query | Daniel Gröber | 2018-10-27 | 2 | -6/+7 |
| |