Before building and testing the project, make sure you have the following installed:
If you don't already have Go installed, you can install it using the following commands:
# For Linux and macOS:
wget https://go.dev/dl/go1.21.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
# For macOS using Homebrew:
brew install go
# For Windows:
Download the installer from https://go.dev/dl/ and follow the installation instructions.
Make sure you have Rust installed by following the instructions here..
Ensure that you have Haskell and Cabal installed by following the instructions here.
- Build the Rust part of the project:
cargo build
- Build the Haskell part of the project:
cabal build
To run tests for the Rust components, execute:
cargo test