Is there an idiomatic way to have a master/root taskfile for a monorepo? #1517
Unanswered
michaelCTS
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @michaelCTS, This is exactly what includes are for. Have you taken a look at it? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What I mean with this is having a taskfile that calls other taskfiles. Let's say I want to test an entire monorepo by running the tests in each project the repo contains.
At the moment, the only way I've found to do this is by finding sub directories with taskfiles and running task in those directories like so:
test
works but copy pasting the cmd is not DRY. Trying to solve that with an internal task doesn't seem to work if vars have to be passed -->task target=integration test-sub
still runs unit tests instead of integration tests:Have I missed an idiomatic way to do so in the documentation, issues or discussions?
Beta Was this translation helpful? Give feedback.
All reactions