Replies: 1 comment
|
I figured a way to do this but it requires one slight hack: Once you do that, you can still call But if you add a Set up the sub task to access to top_tasksIn At that point you can include any tasks from top_tasks into the ns/collection in the apps/tasks Of course you can also import and use the tasks that are defined in Sub Tasks Accessing functions/variables from modules in top_tasksIf you needed to import something like a function or a variable from a module in In CaveatsI just got this to work and haven't excercised it fully, but so far it looks like a pretty good solution other than the ugliness of having to have an extra "file" (the symlink) to the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a mono repo and I want to have tasks at different levels (in the directory tree). When I run invoke at a deeper level, I want to have access to the tasks in the higher levels + the tasks in the current level. They can (should) be in different namespaces.
i.e.
If I am in the repo_top/apps directory (or lower) I should be able to say
and see a listing of the tasks in
repo_top/tasksANDrepo_top/apps/tasksI have it so I see the top level stuff if I am in the top level or any sub level that does not have its own tasks module and I see the apps tasks if I am in the apps directory or lower.
I've tried a few things but so far have not figured out how to make it so I see all the tasks if I am in the apps directory or lower.
All reactions