Install the following dependencies:
To build an example project with Mach, simply navigate to the example to build and run:
cd examples/basic
just run build
# Equivalent to:
# cd examples/basic
# mach build
In this case just run
is the equivalent of mach
and the command will be run from the directory of the current shell.
Mach compiles to a binary and a native Nodejs addon accessible via the @alshdavid/mach
npm package.
To build Mach, run:
just build
For more options:
profile=release just build
just test-unit
# Optional, will try to determine bin path automatically
export CHROME_EXECUTABLE_PATH="/usr/bin/google-chrome-stable"
just test-integration