This is a simple guide of how to contribute to q>q! There are many ways to contribute to this! To contribute with code, you will need to know rust. To learn it you can view the rust book (online, free)!
Before we start, there are minimal comments (adding some more soon), so you're just stuck with this and your skills (more documentation coming soon)
For this example, we will add a new app:
- Open your local clone of your fork (make sure its on a new branch)
- Create a new file named name.rs in the src/type/ directory
- Put your code into it and change "fn main()" to "pub fn name()"
- Open src/type.rs and add "pub mod name;" (if it doesnt already exist make it)
- Go to src/main.rs and to the variable typelist add the name of your program to it
- Go to src/menu_handler.rs and add this above the else statement (replace name and type to the name and type of the program)
else if app == "name"
{
type::name::name();
}
- Run
cargo run
to test everything - If it works, add, commit and push everything to your fork
- Make a pull request across your fork's branch and the main branch for the main repo
- Wait for a review
Replace anything in italics with the actual name.
The types are other, games, apps