Skip to content

Commit

Permalink
Add to build.md and pixi.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Oct 24, 2024
1 parent e544609 commit 19b4b0e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ If you are using an Apple-silicon Mac (M1, M2), make sure `rustc -vV` outputs `h
rustup set default-host aarch64-apple-darwin && rustup install 1.79.0
```

## Validating your environment
You can validate your environment is set up correctly by running:
```sh
pixi run check-env
```


## Building and running the Viewer

Expand Down
8 changes: 8 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
#
# https://prefix.dev/docs/pixi/overview

# We currently assume pixi version 0.34.0
# You can check that your environment is correct by running:
# - python scripts/check_env.py
# - pixi run check-env

[project]
name = "rerun"
authors = ["rerun.io <[email protected]>"]
Expand Down Expand Up @@ -114,6 +119,9 @@ examples-pypi = ["examples-common", "python-pypi"]
[tasks]
# Note: extra CLI argument after `pixi run TASK` are passed to the task cmd.

# Check that your environment is set up correctly
check-env = "python scripts/check_env.py"

# Run the codegen. Optionally pass `--profile` argument if you want.
codegen = "cargo --quiet run --package re_types_builder -- "

Expand Down

0 comments on commit 19b4b0e

Please sign in to comment.