Run custom query in target deps moon.yml #2188
-
|
I have a repo that includes BE, FE, packages, and Infra in one place. So I searched for a way to add the generate:
description: "Generate typing client and GraphQL types"
deps:
- ":build --query "projectType=[library,tool]"
- "db.generate"
- "graphql.generate"When I change to "~:build" or ":build", it works, but it's not what I want, because we have a lot of apps. Not need to build all for this. generate:
description: "Generate typing client and GraphQL types"
deps:
- ":build" # Or "~:buiild"
- "db.generate"
- "graphql.generate"I checked the docs on the website, but it does not seem to have this one. So how can I do it @milesj |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Defining a query for task dependencies is not supported. Queries right now are a command line only feature. |
Beta Was this translation helpful? Give feedback.
Defining a query for task dependencies is not supported. Queries right now are a command line only feature.