Skip to main content

Just

just is the project's task runner. It provides a consistent interface for building, running and cleaning the project.

tip

To see every available command at any time, run:

Show available Just commands
just help

Initialise the project​

info

If you have already run just init before (like when following the Project Setup Guide), you don't need to run it again.

There is no harm in re-running it, though.

Run this once after cloning the repository.

Paste this in the Docker shell
just init

This:

  • Pulls the required Git submodules.
  • Installs project dependencies.
  • Builds the entire project.

Build the project​

Build Everything (C++, C, JS, WASM, Python, React App, ...).

Paste this inside the Docker shell
just build all

Documentation​

Build the documentation:

Paste this in the Docker shell
just docs build

Example applications​

Build first

Excluding the React.js example application, the respective projects must be built first before you can run them or see the latest changes you made.

Run it
just console-cpp <path-to-image>

Cleaning​

Remove generated build files:

Paste this inside the Docker shell
just clean cpp