mirror of
https://github.com/srid/rib.git
synced 2024-11-23 03:42:07 +03:00
224161a037
* Prep release * Update README example
1.2 KiB
1.2 KiB
Developing rib
Use ghcid for quicker compilation cycles:
nix-shell --run ghcid
To test your changes, clone rib-sample and run it using your local rib checkout:
cd ..
git clone https://github.com/srid/rib-sample.git
cd rib-sample
nix-shell --arg rib ../rib --run 'ghcid -T main'
Release steps
- Create a
release-x.y
branch - Finalize ChangeLog.md
- Run
nix-shell --run 'cabal haddock'
and sanity check the haddocks - Commit all changes, and push a release PR.
- Generated sdist using
cabal sdist
- Upload a package candidate
- Sanity check the upload, and then "publish" it publicly.
- Run
cabal haddock --haddock-for-hackage
to generated haddocks for hackage. - Run
cabal upload -d --publish $PATH_TO_TARBALL
to update haddocks on the release. - Squash merge the PR.
- Draft a new release on Github. Copy paste the change log. This will automatically create and push the new git tag.
Post-release
- Increment cabal version in .cabal file
- Plan, as first task, updating of nixpkgs and package dependencies.