Skip to content

Commit 6576df9

Browse files
committed
Avoid awkward 'pixi run run'
1 parent 84271e6 commit 6576df9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Just type `rerun` and the rerun viewer should show up. Then it is time to run th
3232
The easiest way to get started is to install [pixi](https://prefix.dev/docs/pixi/overview).
3333

3434
* Start the rerun viewer with `rerun` (see above)
35-
* Run the example with `pixi run run`
35+
* Run the example with `pixi run example`
3636

3737

3838
### Manually

pixi.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# https://prefix.dev/docs/pixi/overview
88
#
99
# Use `pixi task list` to list the available tasks,
10-
# and `pixi run TASK` to run it (e.g. `pixi run run`).
10+
# and `pixi run TASK` to run it (e.g. `pixi run example`).
1111

1212
[project]
1313
name = "rerun_cpp_example_opencv_eigen"
@@ -32,7 +32,7 @@ prepare = "cmake -G 'Visual Studio 17 2022' -B build -S . -DCMAKE_BUILD_TYPE=Rel
3232
build = { cmd = "cmake --build build --config RelWithDebInfo", depends_on = [
3333
"prepare",
3434
] }
35-
run = { cmd = "build/RelWithDebInfo/rerun_ext_example.exe", depends_on = [
35+
example = { cmd = "build/RelWithDebInfo/rerun_ext_example.exe", depends_on = [
3636
"build",
3737
] }
3838

@@ -41,22 +41,22 @@ prepare = "cmake -G 'Ninja' -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo"
4141
build = { cmd = "cmake --build build --config RelWithDebInfo --target all", depends_on = [
4242
"prepare",
4343
] }
44-
run = { cmd = "build/rerun_ext_example", depends_on = ["build"] }
44+
example = { cmd = "build/rerun_ext_example", depends_on = ["build"] }
4545

4646

4747
[target.osx-64.tasks]
4848
prepare = "cmake -G 'Ninja' -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo"
4949
build = { cmd = "cmake --build build --config RelWithDebInfo --target all", depends_on = [
5050
"prepare",
5151
] }
52-
run = { cmd = "build/rerun_ext_example", depends_on = ["build"] }
52+
example = { cmd = "build/rerun_ext_example", depends_on = ["build"] }
5353

5454
[target.osx-arm64.tasks]
5555
prepare = "cmake -G 'Ninja' -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo"
5656
build = { cmd = "cmake --build build --config RelWithDebInfo --target all", depends_on = [
5757
"prepare",
5858
] }
59-
run = { cmd = "build/rerun_ext_example", depends_on = ["build"] }
59+
example = { cmd = "build/rerun_ext_example", depends_on = ["build"] }
6060

6161
[dependencies]
6262
# Build tools:

0 commit comments

Comments
 (0)