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

Task groups #71

Open
Yohe-Am opened this issue May 9, 2024 · 1 comment
Open

Task groups #71

Yohe-Am opened this issue May 9, 2024 · 1 comment
Labels
enhancement New feature or request ghjk tasks Relating to the tasks module

Comments

@Yohe-Am
Copy link
Contributor

Yohe-Am commented May 9, 2024

// NOTE: whitespace in name
task("build front", async () => { /* build frontend */ } )
task("build back", async () => { /* build backend */ })

It'll then be accessed by...

$ ghjk x build front
$ ghjk x build back
  • If only ghjk x build, is invoked, list the available tasks.
  • On ghjk x build --run, run all tasks under it in parallel.
  • If another task is explicitly defined under the name build, it overrides this group header task.

Originally posted by @Yohe-Am in #18 (comment)

Consider alternative semantics used by mise.

Copy link

linear bot commented May 9, 2024

MET-512 Task groups

@Yohe-Am Yohe-Am added tasks Relating to the tasks module enhancement New feature or request labels May 9, 2024
@Yohe-Am Yohe-Am added the ghjk label Jul 29, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ghjk tasks Relating to the tasks module
Projects
None yet
Development

No branches or pull requests

1 participant