Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure tasks are fetched for the best platform #2446

Merged
merged 2 commits into from
Nov 10, 2024

Conversation

jjjermiah
Copy link
Contributor

task list was not displaying when targets were specified

manifest-path

[project]
channels = ["https://fast.prefix.dev/conda-forge"]
name = "pixi"
platforms = ["linux-64", "win-64", "osx-64", "osx-arm64"]

[tasks]
make.cmd = "command_1"
generate_keymap.cmd = "command_2"
svg.cmd = "command_3"

[target.osx.tasks]
flash.cmd = "command_4"
port.cmd = "command_5"
port_right.cmd = "command_6"

on osx-arm64

before

> pixi task --manifest-path target/pixi.toml ls -s
Tasks per environment:
----------------------
default: generate_keymap, make, svg

after

> pixi task --manifest-path target/pixi.toml ls -s
Tasks per environment:
----------------------
default: flash, generate_keymap, make, port, port_right, svg

@jjjermiah jjjermiah marked this pull request as ready for review November 9, 2024 20:42
@ruben-arts
Copy link
Contributor

Thanks

@ruben-arts ruben-arts merged commit 12aa332 into prefix-dev:main Nov 10, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants