Thanks for contributing to Oxbuild!
The best ways to get involved are:
- Look through good first issues and pick something that looks interesting
- Get involved with oxc, which powers Oxbuild.
After you've cloned this repository, here's what you need to get set up:
- Make sure you've installed Rust. If you haven't yet, you can install it with
rustup
. - Install
cargo-binstall
, a tool for downloading cargo binaries without needing to compile them first.# Click the link above for more ways to install this cargo install cargo-binstall
- Install
just
, amake
-like task runner.# Click the link above for more ways to install just cargo binstall just
- Install other binaries for linting/checking:
just init
Look through Justfile
to see all available scripts, or just run just
(with no arguments) to see a help message of all commands available.
You can use cargo oxbuild
as a cargo run
shorthand. I personally find it easier than typing multiple CLI args each time :)
Our CI jobs will catch rustfmt
and clippy
issues automatically. You can run just fix
to apply all possible fixes automatically; just make sure you've staged your changes first!
git co -b you/feat/cool-feature
# ... make changes ...
git add -A
just fix
# review what fixes were applied, then stage them when you're ready
g add -A
# lint again to make sure everything's ok
just lint
# good to go!
git push -u origin you/feat/cool-feature