-
Notifications
You must be signed in to change notification settings - Fork 54
Hacking
Jonathan Curran edited this page Feb 28, 2018
·
6 revisions
- 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 https://github.com/IreneKnapp/direct-sqlite/pull/66 for the filenames).