Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.5 KB

CONTRIBUTING.md

File metadata and controls

46 lines (34 loc) · 1.5 KB

Contributing

Thanks for your interest! Below we describe reason-react development setup for the project.

git clone https://github.com/davesnx/bindings.git
cd bindings

Installation

To set up a development environment using opam, run make init to set up an opam local switch and download the required dependencies.

Developing

make dev ## Build in watch mode

Running make help you can see the common commands to interact with the project:

  build-prod      Build for production (--profile=prod)
  build           Build the project, including non installable libraries and executables
  clean           Clean artifacts
  create-switch   Create a local opam switch
  dev             Build in watch mode
  format-check    Checks if format is correct
  format          Format the codebase with ocamlformat
  help            Print this help message
  init            Create a local opam switch, install deps
  install         Update the package dependencies when new deps are added to dune-project
  test-promote    Updates snapshots and promotes it to correct
  test-watch      Run the unit tests in watch mode
  test            Run the unit tests

Submitting a Pull Request

When you are almost ready to open a PR, it's a good idea to run the test suite locally to make sure everything works:

make test

If that all passes, then congratulations! You are well on your way to becoming a contributor 🎉