- Please add automated unit tests for any new features you add. If you don't, expect to be asked to do so in PR review.
Unit tests can be mostly found in test/Main.hs.
Running tests:
cabal sandbox init
cabal install --enable-tests --only-dep
cabal test
- Test
master locally
- Check that Travis CI build passes on the HEAD revision.
- Update changelog.
- Bump versions in the .cabal file.
- Build an sdist. Test the sdist in a separate sandbox.
- Upload to Hackage
- Upload docs to Hackage using https://github.com/ekmett/lens/blob/master/scripts/hackage-docs.sh
- this step can be removed if Hackage starts building the docs automatically as it used to
- Tag the current HEAD with
direct-sqlite-X.Y.Z
version (git tag -a direct-sqlite-X.Y.Z
,git push --tags
)
Be sure to also upgrade the sqlite extension headers (see IreneKnapp#66 for the filenames).