aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix some warningsDaniel Gröber2019-09-174-8/+8
| | | | | | | | | I'm turning off -Wunused-imports in the modules that have to deal with ancient Cabal versions because maintaining warning cleanlyness really is quite pointless when you have to deal with all sorts of deprecations and stuff moving around. I don't think having too many imports will ever break anything there unless the modules really get deprecated and removed, but we'll notice that ;)
* Update API docs of main typesDaniel Gröber2019-09-172-34/+108
|
* ghc-session: Output test specs of tests being runDaniel Gröber2019-09-171-2/+18
| | | | | The strings under the "Going to Run These Tests" heading can be plugged right back into the commandline to run just that test.
* ghc-session: Add GHC version match checkDaniel Gröber2019-09-171-1/+6
|
* Split SProjType along build-tool lineDaniel Gröber2019-09-175-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-v1Daniel Gröber2019-09-174-9/+9
|
* Fix RelativePath invariantsDaniel Gröber2019-09-171-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.DiscoverZubin Duggal2019-09-173-2/+63
|
* ghc-session: Allow overriding programs on commandlineDaniel Gröber2019-09-171-57/+104
|
* Fix Cabal HEADZubin Duggal2019-07-291-4/+1
|
* compile-test: Read cabal versions from fileDaniel Gröber2019-06-196-51/+102
| | | | | This allows them to be checked for up-to-date'nes in CI like the stack-resolvers.
* Fix redundant case warningDaniel Gröber2019-06-191-1/+0
|
* ghc-session: Improve test output consistencyDaniel Gröber2019-06-191-29/+61
|
* ghc-session: Simplify Cabal version checkingDaniel Gröber2019-06-191-12/+12
|
* ci: Move stack resolver table to a fileDaniel Gröber2019-06-195-16/+45
|
* ci: Upgrade to stack-2.1.1Daniel Gröber2019-06-171-5/+13
|
* ci: Allow using latest Hackage index with CI_USE_COMMIT_INDEX_STATE=trueDaniel Gröber2019-06-171-1/+6
|
* ci: Switch to stack included in CI imagesDaniel Gröber2019-05-272-13/+11
|
* Revert compilerVersion being project-scopeDaniel Gröber2019-05-272-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 ExDaniel Gröber2019-05-052-3/+3
|
* Fix Haddock parse errorDaniel Gröber2019-05-021-2/+2
|
* Fix getHelper ignoring withProgs environmentDaniel Gröber2019-04-011-4/+1
|
* Add ProjLocV1Dir for easier forward portingDaniel Gröber2019-04-013-10/+18
|
* Expose missing ChLibraryName in public APIDaniel Gröber2019-04-011-0/+1
|
* Make compilerVersion accessor project-scope for V1 projectsDaniel Gröber2019-04-015-33/+83
|
* 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.
* Add skeleton for project discovery functionalityDaniel Gröber2019-03-312-0/+42
|
* Improve export list order for docsDaniel Gröber2019-03-311-1/+2
|
* Fix missing CompPrograms exportDaniel Gröber2019-03-311-1/+2
|
* Promote 'Ex' to exported APIDaniel Gröber2019-03-313-3/+30
| | | | 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-293-14/+32
|
* Add accessor for ChModuleName newtypeDaniel Gröber2019-03-292-4/+1
|
* Fix indentDaniel Gröber2019-02-141-1/+1
| | | | [ci skip]
* Sync with Cabal HEADDaniel Gröber2019-02-141-2/+1
|
* 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-145-37/+93
|
* Some helper compilation test coverage commentsDaniel Gröber2019-02-113-1/+13
| | | | [ci skip]
* Add demoteSProjTypeDaniel Gröber2019-02-112-0/+6
|
* docsDaniel Gröber2019-02-111-0/+1
| | | | [ci skip]
* ghc-session: Get correct builtin Cabal version per proj-typeDaniel Gröber2019-02-111-48/+89
|
* helper: Make 'version' comand part of the normal parsing logicDaniel Gröber2019-02-101-7/+3
|
* Shortcut helper compilation when Cabal version is already availableDaniel Gröber2019-02-096-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 HEADDaniel Gröber2019-02-091-1/+1
|
* Fix module descriptionDaniel Gröber2019-01-301-1/+1
| | | | [ci skip]
* ci: Move stack install logic into seperate scriptDaniel Gröber2019-01-302-23/+28
|
* Add log-level to verbosity conditionalDaniel Gröber2019-01-306-19/+25
|
* Fix ghc-pkg guessing logic when using v2-installDaniel Gröber2019-01-302-6/+8
|