Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.61 KB

developer.readme.md

File metadata and controls

44 lines (30 loc) · 2.61 KB

johnny developer guide

thank you for showing interest in contributing (:

before we start

i am grateful that you are considering helping out, it really does mean a lot! johnny is a bot with a lot of moving components and due to the fact it is conditionally compiled extra care must be taken while implementing new features! in order to make the development lifecycle as beginner friendly as possible, we use a couple of tools while developing johnny. these are as follows:

You can install all of the above using the following command:

cargo install just taplo-cli sea-orm-cli cargo-generate cargo-all-features

All workflows are defined in our justfile and each task can be run using just <task>. All available tasks are documented below.

  • clean - cleans all target directories recursively
  • format - formats all code using rustfmt, and toml files using taplo
  • new-package - generates a new package using the template
  • new-migration <name> - generates a new database migration
  • build-all - build every feature combination

our community

we adopt the contributor covenant code of conduct, so please make all of our lives easier and follow it [:

as development ramps up, we may have a development hub on discord. watch this space.

technical details

we use the stable toolchain. please make sure you are not using the nightly toolchain, it will cause us many headaches.

there is a special dev compiler feature that you will likely want to have enabled which we do not mention in the consumer guide. it adds some extra debugging tools to help you develop easier!

licensed with the opinionated queer license v1.1 - tl;dr see here :]