aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix SomeException swallowing in compileWithCabalV2GhcEnvDaniel Gröber2019-01-301-2/+2
|
* compile: v2-install --libs needs GHC >=8.0Daniel Gröber2019-01-262-0/+2
|
* ghc-session: Run V2 tests first to get faster build timesDaniel Gröber2019-01-261-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_tableDaniel Gröber2019-01-261-8/+11
|