Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Latest commit

 

History

History
42 lines (28 loc) · 1.19 KB

CONTRIBUTING.md

File metadata and controls

42 lines (28 loc) · 1.19 KB

Contributing

🎉 Thank you for contributing to starpkg!! 🎉

Commits

Use Conventional Commit messages.

If your commit makes a breaking change, consider whether it would be feasible to make it minor instead (i.e. make it backwards-compatible)! Otherwise, merging it will have to be delayed until the next major release of starpkg.

For commit scopes, prefer using the name of a starpkg subcommand, eg. new, if relevant.

If you make a user-facing change, make sure to add it to the changelog!

Linting

Source files are linted with clippy. Linting errors will fail a build, so it is suggested that you run clippy locally:

$ rustup component add clippy
$ cargo clippy

Documentation

To view the user guide locally, use mdBook:

$ cargo install mdbook
$ cargo mdbook serve

Releases

  • Bump Cargo.toml version according to semver
  • Prepend ## [VERSION] to CHANGELOG.md
  • git add -A && git commit -m "chore(release): [VERSION]"
  • git tag v[VERSION]
  • git push && git push --tags