aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/HaddockDB.hs
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-01-09 00:11:35 +0000
committerAustin Seipp <austin@well-typed.com>2014-01-12 14:48:36 -0600
commit2aec8fdde55579b62f480c6b2a567bd5392fdff2 (patch)
tree4511c7659f8b955a13c875dcc9c43ee1fa638056 /src/Haddock/Backends/HaddockDB.hs
parentf1f94f2f634fb065f69ca2cc87a4a54f4e3a39ed (diff)
Bump interface version
There were some breaking changes over the last few patches so we bump the interface version. This causes a big problem with testing: 1. To generate cross package docs, we first need to generate docs for the package used. 2. To generate package docs with new interface version, we need to use Haddock which has the version bumped. 3. To get Haddock with the version bump, we first need to test cross package docs 4. GOTO 1 So the problem is the chicken and the egg problem. It seems that the only solution would be to generate some interface files on the fly but it is non-trivial. To run this test, you'll have to: * build Haddock without the test (make sure everything else passes) * rebuild the packages used in the test with your shiny new binary making sure they are visible to Haddock * remove the ‘_hidden’ suffix and re-run the tests Note: because the packages currently used for this test are those provided by GHC, it's probably non-trivial to just re-build them. Preferably something less tedious to rebuild should be used and something that is not subject to change.
Diffstat (limited to 'src/Haddock/Backends/HaddockDB.hs')
0 files changed, 0 insertions, 0 deletions