Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1009 Bytes

CONTRIBUTING.md

File metadata and controls

56 lines (38 loc) · 1009 Bytes

Setup

Getting Started

Install the following dependencies:

Building an Example

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.

Building Mach

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

Tests

Unit Tests

just test-unit

Integration Tests

# Optional, will try to determine bin path automatically
export CHROME_EXECUTABLE_PATH="/usr/bin/google-chrome-stable"

just test-integration