Commit Graph

3 Commits

Author SHA1 Message Date
Benjamin Hipple
286f040859 Refactoring PR description helper and starting to add tests
Having the tests makes it easier to visualize what's going on, because we can
just look at the test output data. This is not foolproof, since one of the IO
helper functions could generate bad data to pass to the pure helper, but it's
better than nothing.

This refactors as much as possible to keep the PR description logic in the pure
`prComment` function, rather than computing it in multiple places, which also
increases out unit test coverage.
2020-04-22 23:46:17 -04:00
Ryan Mulligan
36f251fd73 optionally run nixpkgs-review 2020-04-13 19:33:21 -07:00
Ryan Mulligan
e4968ed9f5 do commit cabal file, simplify development instructions
* it isn't necessary to run cabal2nix directly (developPackage) takes
care of that.
* the cabal file is committed, so it only needs to be updated when
adding dependencies or new files
2020-04-10 20:44:24 -07:00