Skip to content

Commit

Permalink
Add some more pixi build targets (rerun-io#7848)
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk authored Oct 21, 2024
1 parent f8c5f9b commit 3e505c9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,16 @@ rerun-build-release = "cargo build --package rerun-cli --release --no-default-fe
# You can also give an argument for what to view (e.g. an .rrd file).
rerun-release = "cargo run --package rerun-cli --no-default-features --features native_viewer,nasm --release --"

# Compile `rerun-cli` with the same feature set as we build for releases.
rerun-build-native-and-web = { cmd = "cargo build --package rerun-cli --no-default-features --features release --", depends_on = [
"rerun-build-web",
] }

# Compile `rerun-cli` with the same feature set as we build for releases.
rerun-build-native-and-web-release = { cmd = "cargo build --package rerun-cli --no-default-features --features release --release --", depends_on = [
"rerun-build-web-release",
] }

# Compile and run the web-viewer via rerun-cli.
#
# You can also give an argument for what to view (e.g. an .rrd file).
Expand Down Expand Up @@ -283,10 +293,21 @@ js-build-all = { cmd = "yarn --cwd rerun_js workspaces run build", depends_on =
py-build-common = { cmd = "PIP_REQUIRE_VIRTUALENV=0 RERUN_ALLOW_MISSING_BIN=1 maturin develop --manifest-path rerun_py/Cargo.toml --extras=tests", depends_on = [
"rerun-build", # We need to build rerun-cli since it is bundled in the python package.
] }

py-build-common-release = { cmd = "PIP_REQUIRE_VIRTUALENV=0 RERUN_ALLOW_MISSING_BIN=1 maturin develop --release --manifest-path rerun_py/Cargo.toml --extras=tests", depends_on = [
"rerun-build-release", # We need to build rerun-cli since it is bundled in the python package.
] }

# Build and install the `rerun-sdk` package with the `web_viewer` feature.
py-build-common-web-viewer = { cmd = "PIP_REQUIRE_VIRTUALENV=0 RERUN_ALLOW_MISSING_BIN=1 maturin develop --manifest-path rerun_py/Cargo.toml --features web_viewer,nasm --extras=tests", depends_on = [
"rerun-build-native-and-web", # We need to build rerun-cli since it is bundled in the python package.
] }

# Build and install the `rerun-sdk` package with the `web_viewer` feature.
py-build-common-web-viewer-release = { cmd = "PIP_REQUIRE_VIRTUALENV=0 RERUN_ALLOW_MISSING_BIN=1 maturin develop --release --manifest-path rerun_py/Cargo.toml --features web_viewer,nasm --extras=tests", depends_on = [
"rerun-build-native-and-web-release", # We need to build rerun-cli since it is bundled in the python package.
] }


# Build the `rerun-notebook` package.
py-build-notebook = { cmd = "pip install -e rerun_notebook", depends_on = [
Expand Down

0 comments on commit 3e505c9

Please sign in to comment.