Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Building Gram for FreeBSD

Note, FreeBSD is not currently a supported platform, and so this is a work-in-progress.

Repository

Clone the Gram repository.

Dependencies

  • Install the necessary system packages and rustup:

    script/freebsd.sh
    

    If preferred, you can inspect script/freebsd and perform the steps manually.

Building from source

Once the dependencies are installed, you can build Gram using Cargo.

For a debug build of the editor:

cargo run

And to run the tests:

cargo test --workspace

In release mode, the primary user interface is the cli crate. You can run it in development with:

cargo run -p cli

Troubleshooting

Cargo errors claiming that a dependency is using unstable features

Try cargo clean and cargo build.