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

Allow a scenario to run a tooling API action #364

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

adammurdoch
Copy link
Member

Replaces the model configuration attribute with a tooling-api { } section that allows either a model to be fetched or an action to be run.

…g API build action to run, as an alternative to querying a tooling model.

Also added a build action that fetches the "project publications" model for each project in the build tree, using the parallel APIs.
Copy link
Member

@eskatos eskatos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

// forTasks(empty-array) means "run default tasks", not "don't run any tasks"
// Assume here that empty "tasks" parameter means "don't run any tasks"
build.forTasks(tasks.toArray(new String[0]));
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@adammurdoch
Copy link
Member Author

Thanks for taking a look.

@adammurdoch adammurdoch merged commit e0a6cd9 into master Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants