Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@ jobs:
uses: Swatinem/[email protected]
- name: Install `wasm-pack`
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Install `cargo-hack`
uses: taiki-e/install-action@cargo-hack
run: cargo hack check --each-feature
- name: Precommit
run: just precommit
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ precommit: check test build-harperjs build-obsidian build-web build-wp build-chr
set -eo pipefail

cargo build --all-targets
cargo hack check --each-feature

# Install `harper-cli` and `harper-ls` to your machine via `cargo`
install:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Set Up Your Environment
---

To use the tooling required to build and debug Harper, you'll need the following programs available in your `$PATH`.
To use the tooling required to build and debug Harper, you'll need the following programs available in your `$PATH`.
For Nix users, we provide a [Nix development shell](#Nix-development-shell) to setup all the necessary tooling automatically.

- [`just`](https://github.com/casey/just)
Expand All @@ -14,6 +14,7 @@ For Nix users, we provide a [Nix development shell](#Nix-development-shell) to s
- [`wasm-pack`](https://rustwasm.github.io/wasm-pack/installer/)
- `zip`
- `pandoc`
- [`cargo-hack`](https://github.com/taiki-e/cargo-hack?tab=readme-ov-file#installation)

To run integration tests, you may also need `libnss3` and/or `libasound3`.
These are installable in Ubuntu using `apt-get`.
Expand Down
Loading